1
{% extends "horizon/common/_modal_form.html" %}
3
{% load url from future %}
5
{% block form_id %}add_routerrule_form{% endblock %}
6
{% block form_action %}{% url 'horizon:project:routers:addrouterrule' router.id %}
9
{% block modal-header %}{% trans "Add Router Rule" %}{% endblock %}
11
{% block modal-body %}
14
{% include "horizon/common/_form_fields.html" %}
18
<h3>{% trans "Description" %}:</h3>
20
{% trans "Routing rules to apply to router. Rules are matched by most specific source first and then by most specific destination." %}<br/>
21
{% trans "The next hop addresses can be used to override the router used by the client." %}
26
{% block modal-footer %}
27
<input class="btn btn-primary pull-right" type="submit" value="{% trans "Add rule" %}" />
28
<a href="{% url 'horizon:project:routers:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>