Merge pull request #32 from Dunedan/fix-missing-cancel-buttons

Fixes missing cancel buttons
This commit is contained in:
Jeffrey Forman 2015-04-05 14:09:07 -04:00
commit dc15440a98
2 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@
</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 %}" class="btn btn-warning">Cancel</a>
</form> </form>
{% endblock body %} {% endblock body %}

View File

@ -40,6 +40,7 @@
<tr> <tr>
<td> <td>
<button type="submit" class="btn">Yes, really delete.</button> <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></td> <td></td>
</tr> </tr>