From 9aabf01994845ae1102edd7dbba3e4e6f82b0f2a Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 9 Nov 2010 00:17:23 +0100 Subject: [PATCH] cleanup ng:show logic --- templates/conference/Registration.html.ep | 80 +++++++++++------------ 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/templates/conference/Registration.html.ep b/templates/conference/Registration.html.ep index 1d148a6..6a5a154 100644 --- a/templates/conference/Registration.html.ep +++ b/templates/conference/Registration.html.ep @@ -15,7 +15,6 @@ function Registration($resource){ }, symposium: { organizers: [ {name:'', surname:'', inst:'', email:'' } ], work_nr: 1, }, }; - this.last_saved = {}; this.Registration = $resource( '/data/conference/Registration/:id', { id:'' } ); this.Symposium = $resource( '/data/conference/Symposium/:id', { id:'' } ); this.reset(); @@ -264,22 +263,15 @@ input.ng-validation-error {
-
+ +

Please choose:

- Just attending the conference
- I want to submit a work
+ +
-
-
-

Choose submittion type:

- Symposia
- Oral presentation
- Poster presentation
- Round table discussion
-
-
-
+ +

Contact Information

First name
@@ -323,8 +315,20 @@ input.ng-validation-error {
+
+
+

Choose submittion type:

+ Symposia
+ Oral presentation
+ Poster presentation
+ Round table discussion
+
+
+ + + -
+

Symposia Submission

@@ -377,38 +381,34 @@ input.ng-validation-error { -
-
- {{registration.symposium.work_nr}}. {{registration.work.title}} has been submited successfully.
-
- -
- - - - - - or go to conference home page.
-
- -
Please fill all required fields ({{$invalidWidgets.visible()}} fields left). + +
+ {{registration.work.title}} has been submited successfully.
+
-
- 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.

+ + +
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. +
Registration ID: {{registration.$id}}.
You can bookmark this page and review it later. +
- + +