{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% load url from future %}

{% block form_id %}create_rack_form{% endblock %}
{% block form_action %}{% url 'horizon:infrastructure:resource_management:racks:create' %}{% endblock %}

{% block modal_id %}create_rack_modal{% endblock %}
{% block modal-header %}{% trans "Create Rack" %}{% endblock %}

{% block modal-body %}
<div>
    <fieldset>
    {% include "horizon/common/_form_fields.html" %}
    </fieldset>
</div>
{% endblock %}

{% block modal-footer %}
  <input class="btn btn-primary pull-right" type="submit" value="{% trans "Create Rack" %}" />
  <a href="{% url 'horizon:infrastructure:resource_management:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>
{% endblock %}
