Template source: contact.djt.html

{% extends "base.djt.html" %} {% block title %}Contact{% endblock %} {% block metadata %} <meta charset="utf-8"> <meta name="description" content="Contact Page"> <!-- other html tags here --> {% endblock %} {% block content %} <script type="application/javascript"> $(window).bind("pageshow", function(event) { if (event.originalEvent.persisted) { window.location.reload(); } }); </script> {% load widget_tweaks %} <div class="container"> <div class="row"> <div class="col-md-offset-3 col-md-6"> <h2>Contact Me</h2> </div> </div> <br> <form class="form-horizontal" role="form" action="contact" method="post"> {% csrf_token %} {% for field in form %} {% if field.errors %} <div class="form-group has-error"> <label class="col-md-3 control-label" for="id_{{ field.name }}">{{ field.label }}</label> <div class="col-md-6"> {{ field|attr:"class:form-control" }} <span class="help-block"> {% for error in field.errors %}{{ error }}{% endfor %} </span> </div> </div> {% else %} <div class="form-group"> <label class="col-md-3 control-label" for="id_{{ field.name }}">{{ field.label }}</label> <div class="col-md-6"> {{ field|attr:"class:form-control" }} {% if field.help_text %} <p class="help-block"><small>{{ field.help_text }}</small></p> {% endif %} </div> </div> {% endif %} {% endfor %} <div class="form-group"> <div class="col-md-offset-3 col-md-6"> <button type="submit" class="btn btn-primary">Submit</button> </div> </div> </form> </div> {% endblock content %} <!-- Request: <WSGIRequest: GET '/change_record.html?recordtobechanged=592'> -->