{% load url from future %}
{% load i18n locale %}
{% if show_delete %}
<form action="{% url 'staticpages.delete' page_type object.pk %}"
  method="post" class="pull-{% locale_reverse_align %}">
  {% csrf_token %}
  <input type="submit" class="delete" value="{% trans 'Delete' %}" />
</form>
{% endif %}
<form action="" method="post" class="staticpages-form">
  {% csrf_token %}
  {{ form.non_field_errors }}
    {% include 'staticpages/admin/_field.html' with field=form.title %}
    {% include 'staticpages/admin/_field.html' with field=form.virtual_path help_pre='True'%}
    {% include 'staticpages/admin/_field.html' with field=form.active %}
    {% include 'staticpages/admin/_field.html' with field=form.url %}
    <div class="control-group-separator">
      {% comment %} Translators: Displayed as 'Redirect to URL or Display Content'{% endcomment %}
      <span class="help_text">{% trans "or" %}</span>
    </div>
    {% include 'staticpages/admin/_field.html' with field=form.body %}
    <div class="control-group">
      <div class="controls">
        <input type="submit" class="save" value="{% trans 'Save' %}" />
      </div>
    </div>
</form>
