summaryrefslogtreecommitdiff
path: root/src/templates/apps/room/modify.html
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-04-04 21:05:39 +0200
committerLeif Johansson <leifj@sunet.se>2011-04-04 21:05:39 +0200
commit15077ed4277b38f9e2eb9f9b1550b664a0bb1e28 (patch)
tree95d7294b10f992c5ebd736a3a57ed929ad97253f /src/templates/apps/room/modify.html
parent5e6d967b1bf14b715b306d8bc7637f94a813757b (diff)
cleanup and turn form into wizard
Diffstat (limited to 'src/templates/apps/room/modify.html')
-rw-r--r--src/templates/apps/room/modify.html14
1 files changed, 14 insertions, 0 deletions
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