Commit f9588ffee9a569c3cda9339d7fc45bfe8ed95d63
1 parent
4bbb0fe1
Exists in
master
and in
3 other branches
Adding security form
Showing
1 changed file
with
26 additions
and
0 deletions
Show diff stats
security/templates/security/update.html
... | ... | @@ -7,4 +7,30 @@ |
7 | 7 | {% block breadcrumbs %} |
8 | 8 | {{ block.super }} |
9 | 9 | {% breadcrumb 'Settings: Security' 'security:update' %} |
10 | +{% endblock %} | |
11 | + | |
12 | +{% block content %} | |
13 | + <div class="card"> | |
14 | + <div class="card-content"> | |
15 | + <div class="card-body"> | |
16 | + <form method="post" action="" enctype="multipart/form-data"> | |
17 | + {% csrf_token %} | |
18 | + {% for field in form %} | |
19 | + <div class="checkbox"> | |
20 | + <label for="{{ field.auto_id }}"> | |
21 | + {% render_field field %} {{field.label}} | |
22 | + </label> | |
23 | + </div> | |
24 | + {% endfor %} | |
25 | + <div class="col-md-12 col-lg-12 col-sm-12 col-xs-12"> | |
26 | + <div class="text-center"> | |
27 | + <input type="submit" value="{% trans 'Save' %}" class="btn btn-raised btn-primary" /> | |
28 | + </div> | |
29 | + </div> | |
30 | + </form> | |
31 | + </div> | |
32 | + </div> | |
33 | + </div> | |
34 | + <br clear="all" /> | |
35 | + <br clear="all" /> | |
10 | 36 | {% endblock %} |
11 | 37 | \ No newline at end of file | ... | ... |