{% extends "dashboard/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}

{% block content %}
<div class="row">
  <div class="col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading"></div>
      <div class="panel-body">
          <form action={% url 'request.views.request-field-add' %} method="post">
            {% include "display-form-errors.html" %}
            {% csrf_token %}
            {% for field in form %}
              {{ field|as_crispy_field}}
            {% endfor %}
            <button type="submit" class="btn btn-sm btn-success">{% trans "Add" %}</button></td>
          </form>
      </div> <!-- .panel-body -->
    </div>
  </div>
</div>
{% endblock %}
