Merge pull request #19 from Dunedan/fix-cancel-buttons
Fixes some problems introduced with 448d18f
This commit is contained in:
commit
ef87c412b7
|
@ -63,6 +63,6 @@
|
|||
</div>
|
||||
|
||||
<button type="submit" class="btn">Save Changes</button>
|
||||
<a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a>
|
||||
<a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}" class="btn btn-warning">Cancel</a>
|
||||
</form>
|
||||
{% endblock body %}
|
||||
|
|
|
@ -95,6 +95,6 @@
|
|||
</div>
|
||||
|
||||
<button type="submit" class="btn">Save Changes</button>
|
||||
<button class="btn btn-warning"><a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a></buton>
|
||||
<a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}" class="btn btn-warning">Cancel</a>
|
||||
</form>
|
||||
{% endblock body %}
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
<tr>
|
||||
<td colspan="2">
|
||||
<button type="submit" class="btn">Yes, I really want to delete them.</button>
|
||||
<button class="btn btn-warning"><a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a></button>
|
||||
<a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}" class="btn btn-warning">Cancel</a>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{% if not errors %}
|
||||
<form action="{% url "delete_record" %}" method="post">{% csrf_token %}
|
||||
<table class="table table-hover sortable">
|
||||
<button class="btn btn-default"><a href="{% url "add_record" dns_server=dns_server zone_name=zone_name %}">Add Record</a></button>
|
||||
<a href="{% url "add_record" dns_server=dns_server zone_name=zone_name %}" class="btn btn-default">Add Record</a></button>
|
||||
|
||||
<tr>
|
||||
<th>Select</th>
|
||||
|
|
Loading…
Reference in New Issue