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' %>"
24 ng-model="registration.user.org_member"
25 class="my-label-input"
26 label="<%= locale en => 'organisation', hr => 'organizator' %>"
34 <%= locale en => 'Fees', hr => 'Plaćanja' %>
39 ng-model="registration.payment.received"
40 class="my-label-input"
41 label="<%= locale en => 'Payment received', hr => 'Primljena uplata' %>"
46 ng-model="registration.payment.amount"
47 class="my-label-input"
48 label="<%= locale en => 'Amount', hr => 'Iznos' %>"
49 placeholder="50.00 kn"
50 ng-filter="[0-9]+[\.\,]*[0-9]+\s*(kn|eu)"
55 ng-model="registration.payment.date"
56 class="my-label-input"
57 label="<%= locale en => 'Date', hr => 'Datum' %>"
62 <button class="btn btn-primary" ng-click="update(registration, registration.state, '<%= locale en => 'Registration saved', hr => 'Registracija spremljena' %>')" ng-show="RegistrationForm.$dirty">
63 <%= locale en => 'Save changes', hr => 'Spremi promjene' %>
66 %= $lang =~ m/-dev/ ? '{{registration.payment}} {{registration.state}}' : ''
69 %= include 'registration/view'
74 % if ( $lang =~ m/-dev/ ) {
76 $dirty = {{RegistrationForm.$dirty}}
77 $pristine = {{RegistrationForm.$pristine}}