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:
parent
0bf7b08b5b
commit
2cdf658bf8
|
@ -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 %}
|
||||
|
|
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue