X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Fconference%2FRegistration.html.ep;fp=templates%2Fconference%2FRegistration.html.ep;h=3665a69e5d00737c4792b69e89ab4ccc0784a174;hb=a95625606e7d12287c963f93419510df1b850d9b;hp=e70a527e99b3bb20c94a8a11bade6b33fd950182;hpb=3ba0c46ae4d3021afe22c976adc114e6c5b83c43;p=angular-mojolicious.git diff --git a/templates/conference/Registration.html.ep b/templates/conference/Registration.html.ep index e70a527..3665a69 100644 --- a/templates/conference/Registration.html.ep +++ b/templates/conference/Registration.html.ep @@ -5,15 +5,15 @@ if (typeof (console) === 'undefined') console = { debug: function() {} }; // moc function Registration($resource){ this.master = { person: { - name: '', surname: '', inst: '', email: '', + name: '', surname: '', inst: '', email: '' }, type: 'participant', work: { title: '', abstract: '', - authors:[ { name:'', surname:'', inst:'', email:'' } ], + authors:[ { name:'', surname:'', inst:'', email:'' } ] }, - symposium: { organizers: [ {name:'', surname:'', inst:'', email:'' } ], work_nr: 1, }, + symposium: { organizers: [ {name:'', surname:'', inst:'', email:'' } ], work_nr: 1 } }; this.Registration = $resource( '/data/conference/Registration/:id', { id:'' } ); this.Symposium = $resource( '/data/conference/Symposium/:id', { id:'' } ); @@ -79,7 +79,7 @@ console.debug('save_symposium', self.symposium ); self.last_saved = angular.copy(registration); }); - }, + } }; angular.validator.max_length = function(input, len) {