X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=templates%2Fconference%2FRegistration.html.ep;h=507725d29ceec57dc51bb87b98cee184b700b100;hb=fb1b2931cbc0c4eb21e5d06e948cea8a7c8a58f3;hp=2bb1f1bc1bd22ef783420ea8883a0590c02dfd22;hpb=44dbf207741b4c06928dedd0ff4ac940e21b3fb8;p=angular-mojolicious.git diff --git a/templates/conference/Registration.html.ep b/templates/conference/Registration.html.ep index 2bb1f1b..507725d 100644 --- a/templates/conference/Registration.html.ep +++ b/templates/conference/Registration.html.ep @@ -85,6 +85,11 @@ console.debug('save_symposium', self.symposium ); }, }; +angular.validator.max_length = function(input, len) { + var ok = input.length <= len; +console.debug( 'max_length', ok, input.length, len ); + return ok ? '' : 'must be shorter than '+len+' characters'; +} @@ -276,7 +281,7 @@ input.ng-validation-error {
-

Participant Registration

+

Contact Information

First name
Surname
@@ -339,7 +344,7 @@ input.ng-validation-error {
Add another organizer - +
    @@ -372,7 +377,7 @@ input.ng-validation-error { - +
{{registration.symposium.work_nr}}. {{registration.work.title}} has been submited successfully.
@@ -384,19 +389,24 @@ input.ng-validation-error {
+ - or go to conference home page.
+ or go to conference home page.
Please fill all required fields ({{$invalidWidgets.visible()}} fields left).
-
- Your registration has been submitted successfully.

- Please review your data, correct and save if needed or go to conference home page.

-
+
+ Your registration has been submitted successfully.

+
+ + Your work has been submitted successfully.

+
+ Please review your data, correct and save if needed or go to conference home page.

+ Registration ID: {{registration.$id}}.
You can bookmark this page and review it later.