Merge branch 'form-cancel-buttons' of https://github.com/Dunedan/binder into Dunedan-form-cancel-buttons

This commit is contained in:
jeffrey forman 2015-03-23 22:07:00 -04:00
commit 7a83de8c84
4 changed files with 5 additions and 2 deletions

View File

@ -64,6 +64,7 @@ Add CNAME record for {{ originating_record }}
</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>
</form> </form>
{% endblock body %} {% endblock body %}

View File

@ -97,6 +97,7 @@ Add record in {{ zone_name }}
</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>
</form> </form>
{% endblock body %} {% endblock body %}

View File

@ -40,7 +40,8 @@ Delete record(s) in {{ zone_name }}
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<input type="submit" value="Yes, I really want to delete them."/> <button type="submit" class="btn">Yes, I really want to delete them.</button>
<a href="{% url "zone_list" dns_server=dns_server zone_name=zone_name %}">Cancel</a>
</td> </td>
</tr> </tr>
</form> </form>

View File

@ -48,7 +48,7 @@ Zone listing for {{ zone_name }} on {{ dns_server }}
</table> </table>
<a href="{% url "add_record" dns_server=dns_server zone_name=zone_name %}">Add Record</a> <a href="{% url "add_record" dns_server=dns_server zone_name=zone_name %}">Add Record</a>
<input type="submit" value="Delete Selected"/> <button type="submit" class="btn">Delete Selected</button>
</form> </form>
{% endif %} {% endif %}
{% endblock body %} {% endblock body %}