Fixes missing cancel buttons

The cancel buttons on the forms introduced with
1671bc4c2f vanished with
41f78b3eff.
This commit adds them back.
This commit is contained in:
Daniel Roschka 2015-04-02 19:21:33 +02:00
parent 41f78b3eff
commit f6d95c2ac2
2 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@
</div>
<button type="submit" class="btn">Save Changes</button>
<a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}" class="btn btn-warning">Cancel</a>
</form>
{% endblock body %}

View File

@ -40,6 +40,7 @@
<tr>
<td>
<button type="submit" class="btn">Yes, really delete.</button>
<a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}" class="btn btn-warning">Cancel</a>
</td>
<td></td>
</tr>