{% load i18n %}

<div id="block_add">
  <form id="block-add-form" method="POST" action="{% url ajax_block_add %}">{% csrf_token %}
    <table>
    {{ form.as_table }}
    </table>
    <input class="button ajaxTrigger" type="submit" value="{% trans "Add" %}" />
  </form>
</div>
