diff options
author | adityacp | 2020-01-02 15:56:43 +0530 |
---|---|---|
committer | adityacp | 2020-01-02 15:56:43 +0530 |
commit | eb05d4b0bc3fd0e2ce5160f30251bd9b939ccef6 (patch) | |
tree | 25f1eef83c710353ef31abcf4f5459e32a49ad37 /grades | |
parent | 4273aacf6c56a075eeb20b7ff5cc7bfb62502a8a (diff) | |
download | online_test-eb05d4b0bc3fd0e2ce5160f30251bd9b939ccef6.tar.gz online_test-eb05d4b0bc3fd0e2ce5160f30251bd9b939ccef6.tar.bz2 online_test-eb05d4b0bc3fd0e2ce5160f30251bd9b939ccef6.zip |
Show the grading ranges in a single line
Diffstat (limited to 'grades')
-rw-r--r-- | grades/templates/add_grades.html | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/grades/templates/add_grades.html b/grades/templates/add_grades.html index d05a9bb..97c3c47 100644 --- a/grades/templates/add_grades.html +++ b/grades/templates/add_grades.html @@ -60,21 +60,24 @@ {% endfor %} {{ formset.management_form }} <br> - <div class="col-md-4"> + <div class="col"> {% for form in formset %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} <b><u>Grade Range {{forloop.counter}}.</u></b> - <br> - {% for field in form.visible_fields %} - {% if field.field.widget|is_checkbox %} - {{field.label}} - {% endif %} - {{ field }} - <hr> - {% endfor %} - <br> + <div class="container"> + <div class="row"> + {% for field in form.visible_fields %} + <div class="col-sm-3"> + {% if field.field.widget|is_checkbox %} + {{ field.label_tag }} + {% endif %} + {{ field }} + </div> + {% endfor %} + </div> + </div> {% endfor %} </div> </table> |