1 <h1> Registracija i prijavljivanje izlaganja</h1>
3 <form ng-controller="RegistrationCtrl" name="RegistrationForm" class="form-horizontal">
5 <div class="alert" ng-class="info.css_class" ng-show="info.message">
11 <%= locale en => 'Registration', hr => 'Registracija' %>
16 ng-model="registration.verified"
17 ng-change="change_state('verified')"
18 class="my-label-input"
19 label="<%= locale en => 'Verified', hr => 'Provjerena' %>"
23 ng-model="registration.state"
24 ng-options="state for state in RegistrationState()"
25 class="my-label-select"
26 label="<%= locale en => 'State', hr => 'Stanje' %>"
34 <%= locale en => 'Fees', hr => 'Plaćanja' %>
39 ng-model="registration.payment.amount"
40 class="my-label-input"
41 label="<%= locale en => 'Amount', hr => 'Iznos' %>"
42 placeholder="50.00 kn"
43 ng-filter="[0-9]+[\.\,]*[0-9]+\s*(kn|eu)"
48 ng-model="registration.payment.date"
49 class="my-label-input"
50 label="<%= locale en => 'Date', hr => 'Datum' %>"
55 <button class="btn btn-primary" ng-click="update(registration, registration.state, '<%= locale en => 'Registration saved', hr => 'Registracija spremljena' %>')" ng-show="RegistrationForm.$dirty">
56 <%= locale en => 'Save changes', hr => 'Spremi promjene' %>
59 %= $lang =~ m/-dev/ ? '{{registration.payment}} {{registration.state}}' : ''
62 %= include 'registration/view'
67 % if ( $lang =~ m/-dev/ ) {
69 $dirty = {{RegistrationForm.$dirty}}
70 $pristine = {{RegistrationForm.$pristine}}