Commit 7631fcc389d5a8b0ba505f4bef5479e19608b85a
1 parent
8f010a7c
Exists in
master
and in
3 other branches
fix stuff
Showing
2 changed files
with
4 additions
and
8 deletions
Show diff stats
categories/templates/categories/create.html
@@ -36,12 +36,8 @@ | @@ -36,12 +36,8 @@ | ||
36 | <select id="{{field.auto_id}}" multiple="multiple" class="form-control" | 36 | <select id="{{field.auto_id}}" multiple="multiple" class="form-control" |
37 | style="position: absolute; left: -9999px;" name="coordinators"> | 37 | style="position: absolute; left: -9999px;" name="coordinators"> |
38 | 38 | ||
39 | - {% for value, name in form.fields.coordinators.choices %} | ||
40 | - | 39 | + {% for value, name in form.fields.coordinators.choices %} |
41 | <option value="{{value}}">{{name}}</option> | 40 | <option value="{{value}}">{{name}}</option> |
42 | - | ||
43 | - | ||
44 | - | ||
45 | {% endfor %} | 41 | {% endfor %} |
46 | </select> | 42 | </select> |
47 | 43 |
categories/templates/categories/list.html
@@ -86,13 +86,13 @@ | @@ -86,13 +86,13 @@ | ||
86 | {{coordinator.username}} | 86 | {{coordinator.username}} |
87 | {% endfor %} | 87 | {% endfor %} |
88 | </h4> | 88 | </h4> |
89 | - | ||
90 | - </div> | ||
91 | - {{category.description|safe}} | 89 | + {{category.description|safe}} |
92 | {% if user in category.coordinators.all %} | 90 | {% if user in category.coordinators.all %} |
93 | <button class="create-subject-btn"> {% trans "create new subject" %} </button> | 91 | <button class="create-subject-btn"> {% trans "create new subject" %} </button> |
94 | {% endif %} | 92 | {% endif %} |
95 | 93 | ||
94 | + </div> | ||
95 | + | ||
96 | 96 | ||
97 | {% comment %} | 97 | {% comment %} |
98 | <div id="{{category.slug}}" class="panel-collapse collapse"> | 98 | <div id="{{category.slug}}" class="panel-collapse collapse"> |