diff options
Diffstat (limited to 'openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/flavors/_edit.html')
-rw-r--r-- | openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/flavors/_edit.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/flavors/_edit.html b/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/flavors/_edit.html index 15447f30..44740745 100644 --- a/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/flavors/_edit.html +++ b/openstack_dashboard/dashboards/infrastructure/resource_management/templates/resource_management/flavors/_edit.html @@ -3,7 +3,7 @@ {% load url from future %} {% block form_id %}edit_flavor_form{% endblock %} -{% block form_action %}{% url 'horizon:infrastructure:resource_management:flavors:edit' flavor_id %}{% endblock %} +{% block form_action %}{% url form_url flavor_id %}{% endblock %} {% block modal_id %}edit_flavor_modal{% endblock %} {% block modal-header %}{% trans "Edit Flavor" %}{% endblock %} @@ -23,5 +23,5 @@ {% block modal-footer %} <input class="btn btn-primary pull-right" type="submit" value="{% trans "Save" %}" /> - <a href="{% url 'horizon:infrastructure:resource_management:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a> + <a href="{{ success_url }}" class="btn secondary cancel close">{% trans "Cancel" %}</a> {% endblock %} |