Merge pull request #19 from Dunedan/fix-cancel-buttons

Fixes some problems introduced with 448d18f
This commit is contained in:
Jeffrey Forman 2015-03-27 22:15:12 -04:00
commit ef87c412b7
4 changed files with 4 additions and 4 deletions

View File

@ -63,6 +63,6 @@
</div> </div>
<button type="submit" class="btn">Save Changes</button> <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> </form>
{% endblock body %} {% endblock body %}

View File

@ -95,6 +95,6 @@
</div> </div>
<button type="submit" class="btn">Save Changes</button> <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> </form>
{% endblock body %} {% endblock body %}

View File

@ -39,7 +39,7 @@
<tr> <tr>
<td colspan="2"> <td colspan="2">
<button type="submit" class="btn">Yes, I really want to delete them.</button> <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> </td>
</tr> </tr>
</form> </form>

View File

@ -6,7 +6,7 @@
{% if not errors %} {% if not errors %}
<form action="{% url "delete_record" %}" method="post">{% csrf_token %} <form action="{% url "delete_record" %}" method="post">{% csrf_token %}
<table class="table table-hover sortable"> <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> <tr>
<th>Select</th> <th>Select</th>