summaryrefslogtreecommitdiff
path: root/horizon/dashboards/nova/networks/templates/networks/subnets/_update.html
blob: 4093b06c7def56087e6e6860698c52d51fa72eba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}

{% block form_id %}update_subnet_form{% endblock %}
{% block form_action %}{% url horizon:nova:networks:editsubnet network_id subnet_id %}{% endblock %}

{% block modal-header %}{% trans "Edit Subnet" %}{% endblock %}

{% block modal-body %}
<div class="left">
    <dl>
      <dt>{% trans "ID" %}</dt>
      <dd>{{ subnet_id }}</dd>
      <dt>{% trans "Network Address" %}</dt>
      <dd>{{ cidr }}</dd>
      <dt>{% trans "IP version" %}</dt>
      <dd>{{ ip_version }}</dd>
    </dl>
    <hr>
    <fieldset>
    {% include "horizon/common/_form_fields.html" %}
    </fieldset>
</div>
<div class="right">
    <h3>{% trans "Description:" %}</h3>
    <p>{% trans "You may update the editable properties of your subnet here." %}</p>
</div>
{% endblock %}

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