Fix formatting of cancel button on update forms

"Cancel" appears large and grey, styled like the X to close the form. It
also needs to appear before the "Update" element in the source,
otherwise there is no spacing between the two buttons.

Change-Id: Idd03e1a178523b07d644b54e5e48a40b5f3f8c60
This commit is contained in:
Nick Timkovich 2017-10-24 15:00:24 -05:00 committed by Pierre Riteau
parent 0bf7b08b5b
commit 2cdf658bf8
2 changed files with 2 additions and 2 deletions

View File

@ -19,6 +19,6 @@
{% endblock %}
{% block modal-footer %}
<a href="{% url 'horizon:admin:hosts:index' %}" class="btn btn-default cancel">{% trans "Cancel" %}</a>
<input class="btn btn-primary pull-right" type="submit" value="{% trans "Update" %}" />
<a href="{% url 'horizon:admin:hosts:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>
{% endblock %}

View File

@ -19,6 +19,6 @@
{% endblock %}
{% block modal-footer %}
<a href="{% url 'horizon:project:leases:index' %}" class="btn btn-default cancel">{% trans "Cancel" %}</a>
<input class="btn btn-primary pull-right" type="submit" value="{% trans "Update" %}" />
<a href="{% url 'horizon:project:leases:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>
{% endblock %}