Commit 3dea456f449a1d40579ec83d71d6266888f1ce63
1 parent
d2e60741
Exists in
master
and in
3 other branches
fixed margin bottom create new subject button
Showing
3 changed files
with
5 additions
and
4 deletions
Show diff stats
amadeus/static/css/base/amadeus.css
categories/templates/categories/list.html
... | ... | @@ -94,7 +94,7 @@ |
94 | 94 | {{category.description|safe}} |
95 | 95 | |
96 | 96 | {% if user in category.coordinators.all %} |
97 | - <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "create new subject" %} </button></a> | |
97 | + <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "Create new subject" %} </button></a> | |
98 | 98 | {% endif %} |
99 | 99 | <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true"> |
100 | 100 | {% for subject in category.subjects %} |
... | ... | @@ -174,7 +174,7 @@ |
174 | 174 | {{category.description|safe}} |
175 | 175 | |
176 | 176 | {% if user in category.coordinators.all %} |
177 | - <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "create new subject" %} </button></a> | |
177 | + <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "Create new subject" %} </button></a> | |
178 | 178 | {% endif %} |
179 | 179 | <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true"> |
180 | 180 | {% for subject in category.subjects %} | ... | ... |
subjects/templates/subjects/list.html
... | ... | @@ -97,7 +97,7 @@ |
97 | 97 | {{category.description|safe}} |
98 | 98 | |
99 | 99 | {% if user in category.coordinators.all %} |
100 | - <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "create new subject" %} </button></a> | |
100 | + <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "Create new subject" %} </button></a> | |
101 | 101 | {% endif %} |
102 | 102 | |
103 | 103 | <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true"> |
... | ... | @@ -178,7 +178,7 @@ |
178 | 178 | {{category.description|safe}} |
179 | 179 | |
180 | 180 | {% if user in category.coordinators.all %} |
181 | - <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "create new subject" %} </button></a> | |
181 | + <a href="{% url 'subjects:create' category.slug %}"><button class="create-subject-btn"> {% trans "Create new subject" %} </button></a> | |
182 | 182 | {% endif %} |
183 | 183 | <div class="panel-group" id="subject-accordion" role="tablist" aria-multiselectable="true"> |
184 | 184 | {% for subject in category.subjects %} | ... | ... |