diff --git a/courses/templates/course/create.html b/courses/templates/course/create.html index 163331d..abf55c3 100644 --- a/courses/templates/course/create.html +++ b/courses/templates/course/create.html @@ -12,41 +12,48 @@ {% block content %}
-
-
- {% csrf_token %} - {% for field in form %} -
- - {% if field.auto_id == 'id_init_register_date' or field.auto_id == 'id_end_register_date' or field.auto_id == 'id_init_date' or field.auto_id == 'id_end_date'%} - +
+ + {% csrf_token %} + {% for field in form %} +
+ + {% if field.auto_id == 'id_init_register_date' or field.auto_id == 'id_end_register_date' or field.auto_id == 'id_init_date' or field.auto_id == 'id_end_date'%} + - {% else %} - {% render_field field class='form-control' %} - {% endif %} - {{ field.help_text }} - {% if field.errors %} -
-
- -
- {% endif %} + {% else %} + {% render_field field class='form-control' %} + {% endif %} + {{ field.help_text }} + {% if field.errors %} +
+
+ - {% endfor %} -
- -
- -
+
+ {% endif %} +
+ {% endfor %} +
+ +
+ +

+ {% endblock %} diff --git a/courses/templates/course/update.html b/courses/templates/course/update.html index 9838f51..af7583b 100644 --- a/courses/templates/course/update.html +++ b/courses/templates/course/update.html @@ -49,4 +49,11 @@


+ {% endblock %} \ No newline at end of file -- libgit2 0.21.2