diff options
Diffstat (limited to 'templates/apps/invitation/edit.html')
-rw-r--r-- | templates/apps/invitation/edit.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/apps/invitation/edit.html b/templates/apps/invitation/edit.html index 28fc447..b565d10 100644 --- a/templates/apps/invitation/edit.html +++ b/templates/apps/invitation/edit.html @@ -1,9 +1,15 @@ {% extends "edit_fieldsets.html" %} {% block widgets %} $('#id_expires').datepicker({'dateFormat': 'yy-mm-dd','timeFormat': 'hh:ii:ss'}); - $('#form').formwizard({ + $('#wizard').formwizard({ validationEnabled: true, focusFirstInput: true, - textSubmit: "Finish" + textSubmit: "Finish", + validationOptions: { + rules: { + email: 'email required', + expires: 'date required' + } + } }); {% endblock %}
\ No newline at end of file |