From 69eae95ab0563bf444c023929e88dfddfd92841e Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 9 Nov 2010 00:48:56 +0100 Subject: [PATCH] put contact information first, then type this is a work-around for ng:required bug I'm hitting with radio buttons --- templates/conference/Registration.html.ep | 24 ++++++++--------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/templates/conference/Registration.html.ep b/templates/conference/Registration.html.ep index 8da54b9..bf61dda 100644 --- a/templates/conference/Registration.html.ep +++ b/templates/conference/Registration.html.ep @@ -4,11 +4,10 @@ if (typeof (console) === 'undefined') console = { debug: function() {} }; // moc function Registration($resource){ this.master = { -// category: null, person: { name: '', surname: '', inst: '', email: '', }, - type: '', // just attending + type: 'participant', work: { title: '', abstract: '', @@ -51,7 +50,6 @@ console.debug( 'load symposium ', s_id ); } this.registration = new this.Registration( this.master ); if ( last ) { - this.registration.category = last.category; this.registration.type = last.type; this.registration.person = last.person; @@ -265,14 +263,7 @@ input.ng-validation-error {
-
-

Please choose:

- - -
- - -
+

Contact Information

First name
@@ -316,9 +307,10 @@ input.ng-validation-error {
-
+

Choose submittion type:

+ @@ -329,7 +321,7 @@ input.ng-validation-error { -
+

Symposia Submission

@@ -401,11 +393,11 @@ input.ng-validation-error {
-
+
Your registration has been submitted successfully.
-
+
{{registration.work.title}} has been submited successfully.
@@ -417,7 +409,7 @@ input.ng-validation-error {
- +