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

{% block form_id %}form_rename_{{ network.id }}{% endblock %}
{% block form_action %}{% url horizon:nova:networks:rename network.id %}{% endblock %}

{% block modal-header %}Rename Network{% endblock %}

{% block modal-body %}
<div class="left">
    <fieldset>
    {% include "horizon/common/_form_fields.html" %}
    </fieldset>
</div>
<div class="right">
    <h3>{% trans "Rename" %}:</h3>
    <p>{% trans "Enter a new name for your network." %}</p>
</div>
{% endblock %}

{% block modal-footer %}
    <input class="btn btn-primary pull-right" type="submit" value="{% trans "Rename Network" %}" />
    <a href="{% url horizon:nova:networks:index %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>
{% endblock %}
