diff options
Diffstat (limited to 'src/templates/edit.html')
-rw-r--r-- | src/templates/edit.html | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/templates/edit.html b/src/templates/edit.html deleted file mode 100644 index 5d04b3f..0000000 --- a/src/templates/edit.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "base.html" %} -{% block content %} -{% block beforeform %}{% endblock %} -<div class="page-header"> - <h1>{{formtitle}}</h1> -</div> -<div class="well" style="width: 70%;"> - {% block justbeforeform %}{% endblock %} - <div> - <form method="POST" class="form-horizontal"> - {% block beforefields %}{% endblock %} - {% for field in form %} - {% if field.is_hidden %} - {{ field }} - {% else %} - <div class="control-group {% if field.field.required %}required{% endif %}" {{ field.row_attrs }}> - {{ field.errors }} - <label for="id_{{ field.html_name }}" class="control-label" ><em>{{ field.label }}{% if field.field.required %}<b>*</b>{% endif %}</em></label> - <div class="controls">{{ field }}</div> - </div> - {% endif %} - {% endfor %} - <div class="form-actions"> - <input type="button" class="btn" onClick="document.location='/rooms'" value="{{cancelname}}"/> - <input class="btn btn-success" type="submit" value="{{submitname}}" /> - </div> - </form> - </div> -</div> -{% endblock %}
\ No newline at end of file |