Commit 2797e1e177e508a6426714b13bd6504111d23d60
1 parent
3a60d1da
Exists in
master
and in
2 other branches
Modified news form to fix create news bug
Showing
1 changed file
with
1 additions
and
6 deletions
Show diff stats
news/templates/news/_form.html
... | ... | @@ -19,13 +19,8 @@ |
19 | 19 | |
20 | 20 | |
21 | 21 | {% elif field.auto_id == 'id_content' %} |
22 | - {% if field.field.required %} | |
23 | 22 | <label for="{{ field.auto_id }}">{{ field.label }} <span>*</span></label> |
24 | - {% else %} | |
25 | - | |
26 | - <label for="{{ field.auto_id }}">{{ field.label }}</label> | |
27 | - {% endif %} | |
28 | - {% render_field field class='form-control text_wysiwyg' %} | |
23 | + {% render_field field class='form-control text_wysiwyg' %} | |
29 | 24 | {% else %} |
30 | 25 | |
31 | 26 | {% if field.auto_id == 'id_title' %} | ... | ... |