diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-10-10 12:59:32 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2016-01-26 23:46:30 +0100 |
commit | 1095a049a63e4286da620b914c23411ea7a02e64 (patch) | |
tree | 6afebddd12fe4fd67f2a789ab16803c356974d7f /pyaggr3g470r/templates | |
parent | base modification in model for category support (diff) | |
download | newspipe-1095a049a63e4286da620b914c23411ea7a02e64.tar.gz newspipe-1095a049a63e4286da620b914c23411ea7a02e64.tar.bz2 newspipe-1095a049a63e4286da620b914c23411ea7a02e64.zip |
base category creation/edition
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/edit_category.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/edit_category.html b/pyaggr3g470r/templates/edit_category.html new file mode 100644 index 00000000..93c952d6 --- /dev/null +++ b/pyaggr3g470r/templates/edit_category.html @@ -0,0 +1,23 @@ +{% extends "layout.html" %} +{% block content %} +<div class="container"> + <div class="well"> + <h3>{{ action }}</h3> + <form action="" method="post" name="save" class="form-horizontal"> + {{ form.hidden_tag() }} + <div class="form-group"> + <label for="{{ form.name.id }}" class="col-sm-3 control-label">{{ form.name.label }}</label> + <div class="col-sm-9"> + {{ form.name(class_="form-control", size="100%") }} + </div> + {% for error in form.name.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + </div> + <div class="form-group"> + <div class="col-sm-offset-3 col-sm-9"> + {{ form.submit(class_="btn btn-default") }} + </div> + </div> + </form> + </div> +</div><!-- /.container --> +{% endblock %} |