diff options
Diffstat (limited to 'python/Dawn/templates/edit_cp.html')
| -rw-r--r-- | python/Dawn/templates/edit_cp.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/python/Dawn/templates/edit_cp.html b/python/Dawn/templates/edit_cp.html new file mode 100644 index 00000000..49fc0f66 --- /dev/null +++ b/python/Dawn/templates/edit_cp.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"> + </head> + <body style="max-width:1024px; margin:0 auto"> + <form method="POST" class="form-horizontal" action="/" enctype="multipart/form-data"> + {% for field in form %} + <div class="form-group"> + {% if field.type != 'CSRFTokenField' %} + <label class="control-label col-md-2" for="{{ field.id }}"> + {{ field.label.text }} + </label> + {% endif %} + <div class="col-md-3"> + {{ field(class_="form-control") }} + </div> + </div> + {% endfor %} + <div class="form-group"> + <div class="col-md-offset-2 col-md-3"> + <button type="submit" class="btn btn-default">Submit</button> + </div> + </div> + </form> + </body> +</html> |
