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' %>
15 ng-model="registration.state"
16 ng-options="state for state in ValidStates"
17 class="my-label-select"
18 label="<%= locale en => 'State', hr => 'Stanje' %>"
26 <%= locale en => 'Fees', hr => 'Plaćanja' %>
31 ng-model="registration.payment.received"
32 class="my-label-input"
33 label="<%= locale en => 'Payment received', hr => 'Primljena uplata' %>"
38 ng-model="registration.payment.amount"
39 class="my-label-input"
40 label="<%= locale en => 'Amount', hr => 'Iznos' %>"
41 placeholder="50.00 kn"
42 ng-filter="[0-9]+[\.\,]*[0-9]+\s*(kn|eu)"
47 ng-model="registration.payment.date"
48 class="my-label-input"
49 label="<%= locale en => 'Date', hr => 'Datum' %>"
54 <button class="btn btn-primary" ng-click="update(registration, registration.state, '<%= locale en => 'Registration saved', hr => 'Registracija spremljena' %>')" ng-show="RegistrationForm.$dirty">
55 <%= locale en => 'Save changes', hr => 'Spremi promjene' %>
58 %= $lang =~ m/-dev/ ? '{{registration.payment}} {{registration.state}}' : ''
61 %= include 'registration/view'
66 % if ( $lang =~ m/-dev/ ) {
68 $dirty = {{RegistrationForm.$dirty}}
69 $pristine = {{RegistrationForm.$pristine}}