From 77ceee6e23f2a8daaf5e3247970953313aebcdd3 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 28 Feb 2011 22:07:19 +0100 Subject: wizards --- templates/apps/name/add.html | 10 ++++++++++ templates/apps/name/delete.html | 8 ++++++++ templates/apps/name/edit.html | 11 ++++++++++- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 templates/apps/name/add.html create mode 100644 templates/apps/name/delete.html (limited to 'templates/apps/name') diff --git a/templates/apps/name/add.html b/templates/apps/name/add.html new file mode 100644 index 0000000..aba49ad --- /dev/null +++ b/templates/apps/name/add.html @@ -0,0 +1,10 @@ +{% extends "edit_fieldsets.html" %} +{% block widgets %} + $('#id_expires').datepicker({'dateFormat': 'yy-mm-dd','timeFormat': 'hh:ii:ss'}); + $('#id_description').wysiwyg(); + $('#form').formwizard({ + validationEnabled: true, + focusFirstInput: true, + textSubmit: "Finish" + }); +{% endblock %} \ No newline at end of file diff --git a/templates/apps/name/delete.html b/templates/apps/name/delete.html new file mode 100644 index 0000000..e9074b0 --- /dev/null +++ b/templates/apps/name/delete.html @@ -0,0 +1,8 @@ +{% extends "edit_fieldsets.html" %} +{% block widgets %} + $('#form').formwizard({ + validationEnabled: true, + focusFirstInput: true, + textSubmit: "Finish" + }); +{% endblock %} \ No newline at end of file diff --git a/templates/apps/name/edit.html b/templates/apps/name/edit.html index ab833ad..aba49ad 100644 --- a/templates/apps/name/edit.html +++ b/templates/apps/name/edit.html @@ -1 +1,10 @@ -{% extends "edit.html" %} \ No newline at end of file +{% extends "edit_fieldsets.html" %} +{% block widgets %} + $('#id_expires').datepicker({'dateFormat': 'yy-mm-dd','timeFormat': 'hh:ii:ss'}); + $('#id_description').wysiwyg(); + $('#form').formwizard({ + validationEnabled: true, + focusFirstInput: true, + textSubmit: "Finish" + }); +{% endblock %} \ No newline at end of file -- cgit v1.1