diff options
Diffstat (limited to 'servo/templates/admin/gsx/form.html')
-rwxr-xr-x | servo/templates/admin/gsx/form.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/servo/templates/admin/gsx/form.html b/servo/templates/admin/gsx/form.html new file mode 100755 index 0000000..b154d5d --- /dev/null +++ b/servo/templates/admin/gsx/form.html @@ -0,0 +1,20 @@ +{% extends "admin/gsx/index.html" %} +{% load i18n %} + +{% block third_column %} +<ul class="nav nav-tabs"> + <li class="active"><a href="#" data-toggle="tab">{% trans "General" %}</a></li> +</ul> +<form method="post" action="" accept-charset="utf-8" class="form-horizontal"> + {% csrf_token %} + {% include "form_snippet.html" %} + <div class="form-actions"> + {% if act.pk %} + <a class="btn btn-danger" data-modal="#modal" href="{% url 'admin-delete_gsx_account' act.pk %}">{% trans "Delete" %}</a> + {% else %} + <a class="btn btn-danger disabled">{% trans "Delete" %}</a> + {% endif %} + <button type="submit" class="btn btn-primary">{% trans "Save" %}</button> + </div> +</form> +{% endblock third_column %} |