Files @ d3db3c085912
Branch filter:

Location: conntrackt/conntrackt/templates/conntrackt/delete_form.html

branko
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).
{% 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="span12">
    <form action="#" method="post">
      <div class="controls controls-row">
        {% csrf_token %}
        {{ form }}
        The following entries will be removed:
        <ul>
          {{ related_items|unordered_list }}
        </ul>
        Are you sure you want to remove them?
      </div>
      <hr />
      <div class="controls">
        <button type="submit" class="btn btn-primary">Remove</button>
      </div>
    </form>
  </div>
</div>
{% endblock content %}