Show More
@@ -206,6 +206,11 b'' | |||||
206 |
|
206 | |||
207 | <div class="post-form-w"> |
|
207 | <div class="post-form-w"> | |
208 | <script src="{% static 'js/panel.js' %}"></script> |
|
208 | <script src="{% static 'js/panel.js' %}"></script> | |
|
209 | <style type="text/css"> | |||
|
210 | form > :nth-child(4) { | |||
|
211 | display: none; | |||
|
212 | } | |||
|
213 | </style> | |||
209 | <div class="post-form"> |
|
214 | <div class="post-form"> | |
210 | <div class="form-title">{% trans "Create new thread" %}</div> |
|
215 | <div class="form-title">{% trans "Create new thread" %}</div> | |
211 | <form enctype="multipart/form-data" method="post">{% csrf_token %} |
|
216 | <form enctype="multipart/form-data" method="post">{% csrf_token %} |
@@ -94,18 +94,23 b'' | |||||
94 | {% endcache %} |
|
94 | {% endcache %} | |
95 |
|
95 | |||
96 | <div class="post-form-w"> |
|
96 | <div class="post-form-w"> | |
97 | <script src="{% static 'js/panel.js' %}"></script> |
|
97 | <script src="{% static 'js/panel.js' %}"></script> | |
98 | <div class="form-title">{% trans "Reply to thread" %} #{{ thread.get_opening_post.id }}</div> |
|
98 | <style type="text/css"> | |
|
99 | form > :nth-child(4) { | |||
|
100 | display: none; | |||
|
101 | } | |||
|
102 | </style> | |||
|
103 | <div class="form-title">{% trans "Reply to thread" %} #{{ thread.get_opening_post.id }}</div> | |||
99 | <div class="post-form"> |
|
104 | <div class="post-form"> | |
100 | <form id="form" enctype="multipart/form-data" method="post" |
|
105 | <form id="form" enctype="multipart/form-data" method="post" | |
101 |
|
|
106 | >{% csrf_token %} | |
102 | {{ form.as_div }} |
|
107 | {{ form.as_div }} | |
103 | <div class="form-submit"> |
|
108 | <div class="form-submit"> | |
104 | <input type="submit" value="{% trans "Post" %}"/> |
|
109 | <input type="submit" value="{% trans "Post" %}"/> | |
105 | </div> |
|
110 | </div> | |
106 | </form> |
|
111 | </form> | |
107 | <div><a href="{% url "staticpage" name="help" %}"> |
|
112 | <div><a href="{% url "staticpage" name="help" %}"> | |
108 | {% trans 'Text syntax' %}</a></div> |
|
113 | {% trans 'Text syntax' %}</a></div> | |
109 | </div> |
|
114 | </div> | |
110 | </div> |
|
115 | </div> | |
111 |
|
116 |
General Comments 0
You need to be logged in to leave comments.
Login now