diff options
author | CruiseDevice | 2018-10-29 18:59:04 +0530 |
---|---|---|
committer | CruiseDevice | 2018-10-29 18:59:04 +0530 |
commit | dc1b49fc5ef5803160f0b0df5f8076e77e37926d (patch) | |
tree | 5ab83b7086fff95b51aa63ed4c94c8691c78d684 /sbhs/templates/dashboard/update_mid.html | |
parent | 152b4a9c34398cc1a6530ee5c3830f57436b0a27 (diff) | |
download | sbhs_server-dc1b49fc5ef5803160f0b0df5f8076e77e37926d.tar.gz sbhs_server-dc1b49fc5ef5803160f0b0df5f8076e77e37926d.tar.bz2 sbhs_server-dc1b49fc5ef5803160f0b0df5f8076e77e37926d.zip |
Add moderator features
- Add form to update userboard.
- Management command for adding online boards.
- Add conditions for booking slots.
- Add features to test, update and reset boards.
Diffstat (limited to 'sbhs/templates/dashboard/update_mid.html')
-rw-r--r-- | sbhs/templates/dashboard/update_mid.html | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sbhs/templates/dashboard/update_mid.html b/sbhs/templates/dashboard/update_mid.html index ea2eb4d..1fa3435 100644 --- a/sbhs/templates/dashboard/update_mid.html +++ b/sbhs/templates/dashboard/update_mid.html @@ -1,9 +1,17 @@ {% extends 'dashboard/dashboard_index.html' %} +{% load crispy_forms_tags %} {% block title %} Update MID {% endblock %} {% block main %} - <div> - <h4>Update MID</h4> + <div class = "container"> + <div class = "row"> + <form class = "form-horizontal" action = "" method="POST" autocomplete="off"> + {% csrf_token %} + {{form | crispy}} + <br> + <button class="btn btn-primary" type="submit" name='update_mid' value='update_mid'>Update Mid</button><br/> + </form> + </div> </div> {% endblock %}
\ No newline at end of file |