From 15077ed4277b38f9e2eb9f9b1550b664a0bb1e28 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 4 Apr 2011 21:05:39 +0200 Subject: cleanup and turn form into wizard --- src/templates/apps/room/modify.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/templates/apps/room/modify.html (limited to 'src/templates/apps/room/modify.html') diff --git a/src/templates/apps/room/modify.html b/src/templates/apps/room/modify.html new file mode 100644 index 0000000..e76d01f --- /dev/null +++ b/src/templates/apps/room/modify.html @@ -0,0 +1,14 @@ +{% extends "form.html" %} +{% block widgets %} + $('#wizard').formwizard({ + validationEnabled: true, + focusFirstInput: true, + textSubmit: "{{submitname}}", + validationOptions: { + rules: { + name: 'required', + urlpath: 'required' + } + } + }); +{% endblock %} \ No newline at end of file -- cgit v1.1