Define modal header and submit in views instead of template
Change-Id: I3f400e6e7b89a21f38fde14e77164fa78e631445
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
{% extends "horizon/common/_modal_form.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block modal-header %}{% trans "Update Node" %}{% endblock %}
|
||||
|
||||
{% block modal-body-right %}
|
||||
<h3>{% trans "Description:" %}</h3>
|
||||
<p>{% trans "You may update the editable properties of your node here." %}</p>
|
||||
{% endblock %}
|
||||
|
||||
{% block modal-footer %}
|
||||
<a href="{% url 'horizon:cluster:nodes:index' %}" class="btn btn-default cancel">{% trans "Cancel" %}</a>
|
||||
<input class="btn btn-primary" type="submit" value="{% trans "Update Node" %}" />
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user