Files
@ d3db3c085912
Branch filter:
Location: conntrackt/conntrackt/templates/conntrackt/update_form.html - annotation
d3db3c085912
571 B
text/html
CONNT-24: Fix the ampersands in HTML (& instead of &). Fix the headers to be XHTML5-comliant. Make sure that all tags are closed (like input, hr etc). Use non-empty actions for forms. Replace invalid use of width attribute for img with CSS styling. Don't use readonly attribute for select fields. Set an empty label instead (one option in drop-box).
c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff d3db3c085912 c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff c2088143f5ff | {% extends "conntrackt/base.html" %}
{# For html_link #}
{% load conntrackt_tags %}
{# For Bootstrapped forms #}
{% load crispy_forms_tags %}
{% block content %}
<div class="row">
<h1 class="span12">{{headline}}</h1>
</div>
<div class="row">
<div class="span6">
<form action="#" method="post">
<div class="controls controls-row">
{% csrf_token %}
{{ form | crispy }}
</div>
<div class="controls">
<button type="submit" class="btn btn-primary">Update</button>
</div>
</form>
</div>
</div>
{% endblock content %}
|