hr => 'Odaberite tip registracije'
%></legend>
+% if (0) {
<label class="radio"><input type="radio" ng-model="user.registration_type" value="lecture" ><%= locale
en => 'Oral presentation',
hr => 'Prijava usmenog izlaganja',
hr => 'Prijava okruglog stola',
%></label>
<hr />
+% }
+
<label class="radio"><input type="radio" ng-model="user.registration_type" value="participant" ><%= locale
en => 'Registration',
hr => 'Registracija'
hr => 'Sažetak ({{abstract_length(work)}} od maks. 2000 znakova s razmacima)'
%>
<textarea class="controls-row span11 {{class}}" ng-model="work.abstract" ng-minlength="2" rows="10" cols="80" ng-required="has_work"></textarea>
-<input type=text ng-model="work.abstract" ng-maxlength="2000" style="display: none">
+<input type="text" ng-maxlength="2000" ng-model="work.abstract" style="display: none">
</label>
</div>
</fieldset><!-- has_work -->
-<div ng-show="user.registration_type == 'symposium'">
+<div ng-show="user.registration_type == 'symposium'" id="symposium-works">
<h2><%= locale
en=>'Submission of works for the symposium {{work.title}}',
hr=>'Prijava radova unutar simpozija {{work.title}}' %>
</h2>
-<div ng-repeat="work in work.symposium_works" class="control-row">
+<div ng-repeat="work in work.symposium_works" class="control-row work">
<h3><%= locale
en=>'{{$index + 1}}. symposium work',
</div><!-- user.registration_type == 'symposium' -->
-<button class="controls-row btn btn-primary" ng-click="update(registration)" ng-show="RegistrationForm.$valid"><%= locale en=>'Submit',hr=>'Pošalji' %></button>
+<button class="controls-row btn btn-primary" id="update-registration" ng-click="update(registration,'confirmation')" ng-show="RegistrationForm.$valid"><%= locale en=>'Submit',hr=>'Pošalji' %></button>
<p class="well" style="color: red" ng-show="! RegistrationForm.$valid">
<%= locale
en => 'Please fill all required fields correctly. Fields with red border call for your attention.',
hr => 'Molimo ispunite sva obavezna polja označena crvenim okvirom.'
%>
+<button class="controls-row btn btn-info" id="update-draft" ng-click="update(registration,'draft')" ng-show="RegistrationForm.$dirty"><%= locale en=>'Save draft',hr=>'Spremi privremeno' %></button>
</p>
<input style="float:right" title="validation errors" type=checkbox name=debug ng-click="debug = ! debug">