{% extends "aircox/page_detail.html" %}
{% load static i18n humanize honeypot aircox %}


{% block head_extra %}
  {{ form.media }}
{% endblock %}

{% block init-scripts %}
{% endblock %}

{% block comments %}
{% endblock %}

{% block content-container %}
<section class="container">
<div>
<form method="post" enctype="multipart/form-data">{% csrf_token %}
    {% csrf_token %}
    {% for field in form %}
    <div class="field is-horizontal">
        <label class="label">{{ field.label }}</label>
        <div class="control">{{ field }}</div>
    </div>
    {% if field.errors %}
    <p class="help is-danger">{{ field.errors }}</p>
    {% endif %}
    {% if field.help_text %}
    <p class="help">{{ field.help_text|safe }}</p>
    {% endif %}
    {% endfor %}

    <div class="has-text-right">
        <button type="submit" class="button">{% translate "Update" %}</button>
    </div>
</form>
</div>
</section>
{% endblock %}
