Commit 3558fc68ac8df1222af528faa35549be3eafe6a2

Authored by Gustavo Bernardo
1 parent bae2df6d

Fixed standardization problems [Issue:#120]

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
links/templates/links/create_link.html
@@ -13,6 +13,7 @@ @@ -13,6 +13,7 @@
13 <form method="post" action="" id="form-link" enctype="multipart/form-data"> 13 <form method="post" action="" id="form-link" enctype="multipart/form-data">
14 {% csrf_token %} 14 {% csrf_token %}
15 {% for field in form %} 15 {% for field in form %}
  16 + <div class ="form-group">
16 {% if field.field.required %} 17 {% if field.field.required %}
17 <label for="{{ field.auto_id }}">{{ field.label }}<span>*</span></label> 18 <label for="{{ field.auto_id }}">{{ field.label }}<span>*</span></label>
18 {% endif %} 19 {% endif %}
@@ -29,9 +30,10 @@ @@ -29,9 +30,10 @@
29 </ul> 30 </ul>
30 </div> 31 </div>
31 {% endif %} 32 {% endif %}
  33 + </div>
32 {% endfor %} 34 {% endfor %}
33 <div class="form-group"> 35 <div class="form-group">
34 - <a href="javascript:void(0)" class="btn btn-raised btn-default" data-dismiss="modal">{% trans 'Cancel' %}</a> 36 + <button type="button" class="btn btn-danger btn-raised" data-dismiss="modal">{% trans "Cancel" %}</button>
35 <button class="btn btn-raised btn-primary" type="submit">{% trans 'Submit' %}</button> 37 <button class="btn btn-raised btn-primary" type="submit">{% trans 'Submit' %}</button>
36 </div> 38 </div>
37 <!-- .end Card --> 39 <!-- .end Card -->