diff options
author | luxagraf <sng@luxagraf.net> | 2010-10-23 19:46:20 -0400 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2010-10-23 19:46:20 -0400 |
commit | c59a2a69fb38b92b6c45bcf7431d2b1a3c5dce3c (patch) | |
tree | 2fc44ca867839d5e591e21467b6e4526f7a9f080 /lib/grappelli/templates/admin/template_validator.html | |
parent | ed77da873e675f02f12cbab9be27f342f825444b (diff) |
added grappelli, filebrowser, chunks and tagging to lcal repo
Diffstat (limited to 'lib/grappelli/templates/admin/template_validator.html')
-rw-r--r-- | lib/grappelli/templates/admin/template_validator.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/grappelli/templates/admin/template_validator.html b/lib/grappelli/templates/admin/template_validator.html new file mode 100644 index 0000000..219c442 --- /dev/null +++ b/lib/grappelli/templates/admin/template_validator.html @@ -0,0 +1,34 @@ +{% extends "admin/base_site.html" %} + +{# load grp_csrf #} + +{% block content %} + <div id="content-main"> + <form action="" method="post">{% csrf_token %} + {% if form.error_dict %} + <p class="errornote">Your template had {{ form.error_dict.items|length }} error{{ form.error_dict.items|pluralize }}:</p> + {% endif %} + <fieldset class="module aligned"> + <div class="row{% if form.site.errors %} error{% endif %} required"> + <div class="column span-4"><h4><label for="id_site" class="required">Site:</label></h4></div> + <div class="column span-flexible"> + {{ form.site }} + {% if form.site.errors %}{{ form.site.html_error_list }}{% endif %} + </div> + </div> + <div class="row{% if form.template.errors %} error{% endif %} required"> + <div class="column span-4"><h4><label for="id_template" class="required">Template:</label></h4></div> + <div class="column span-flexible"> + {{ form.template }} + {% if form.template.errors %}{{ form.template.html_error_list }}{% endif %} + </div> + </div> + </fieldset> + <div class="submit-row"> + <ul class="submit-row"> + <li class="submit-button-container"><input type="submit" value="Check for errors" class="default" /></li> + </ul> + </div> + </form> + </div> +{% endblock %} |