Commit 4f99644676713187f025694db25a91ac6bf20fb2

Authored by Zambom
1 parent 608ef46c

Changing bulletin form elements positions

Showing 1 changed file with 21 additions and 23 deletions   Show diff stats
bulletin/templates/bulletin/_form.html
@@ -46,29 +46,6 @@ @@ -46,29 +46,6 @@
46 {% endif %} 46 {% endif %}
47 </div> 47 </div>
48 48
49 - <legend>{% trans 'Common resources settings' %}</legend>  
50 -  
51 - <div class="form-group{% if form.has_error %} has-error {% endif %} is-fileinput">  
52 - <label for="{{ form.brief_description.auto_id }}">{{ form.brief_description.label }}</label>  
53 - {% render_field form.brief_description class='form-control text_wysiwyg' %}  
54 -  
55 - <span id="helpBlock" class="help-block">{{ form.brief_description.help_text }}</span>  
56 -  
57 - {% if form.brief_description.errors %}  
58 - <div class="alert alert-danger alert-dismissible" role="alert">  
59 - <button type="button" class="close" data-dismiss="alert" aria-label="Close">  
60 - <span aria-hidden="true">&times;</span>  
61 - </button>  
62 - <ul>  
63 - {% for error in form.brief_description.errors %}  
64 - <li>{{ error }}</li>  
65 - {% endfor %}  
66 - </ul>  
67 - </div>  
68 - {% endif %}  
69 - </div>  
70 -  
71 - <h4>{% trans "Bulletin Data" %}</h4><hr>  
72 <label for="{{ form.file_content.auto_id }}">{{ form.file_content.label }} <span>*</span></label> 49 <label for="{{ form.file_content.auto_id }}">{{ form.file_content.label }} <span>*</span></label>
73 <a href="{% url 'bulletin:download_file' file=goal_file %}"> {% trans "Click to download a xls file with the data of the goals" %}</a> 50 <a href="{% url 'bulletin:download_file' file=goal_file %}"> {% trans "Click to download a xls file with the data of the goals" %}</a>
74 <div class="form-group{% if form.has_error %} has-error {% endif %} is-fileinput"> 51 <div class="form-group{% if form.has_error %} has-error {% endif %} is-fileinput">
@@ -152,7 +129,28 @@ @@ -152,7 +129,28 @@
152 {% endif %} 129 {% endif %}
153 </div> 130 </div>
154 131
  132 + <legend>{% trans 'Common resources settings' %}</legend>
  133 +
  134 + <div class="form-group{% if form.has_error %} has-error {% endif %} is-fileinput">
  135 + <label for="{{ form.brief_description.auto_id }}">{{ form.brief_description.label }}</label>
  136 + {% render_field form.brief_description class='form-control text_wysiwyg' %}
155 137
  138 + <span id="helpBlock" class="help-block">{{ form.brief_description.help_text }}</span>
  139 +
  140 + {% if form.brief_description.errors %}
  141 + <div class="alert alert-danger alert-dismissible" role="alert">
  142 + <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  143 + <span aria-hidden="true">&times;</span>
  144 + </button>
  145 + <ul>
  146 + {% for error in form.brief_description.errors %}
  147 + <li>{{ error }}</li>
  148 + {% endfor %}
  149 +
  150 + </ul>
  151 + </div>
  152 + {% endif %}
  153 + </div>
156 154
157 <div class="form-group{% if form.has_error %} has-error {% endif %} is-fileinput"> 155 <div class="form-group{% if form.has_error %} has-error {% endif %} is-fileinput">
158 <label for="{{ form.tags.auto_id }}">{{ form.tags.label }}</label> 156 <label for="{{ form.tags.auto_id }}">{{ form.tags.label }}</label>