remove verified checkbox which was confusing
[angular-drzb] / app / partials / verified.html.ep
1 <h1> Registracija i prijavljivanje izlaganja</h1>
2
3 <form ng-controller="RegistrationCtrl" name="RegistrationForm" class="form-horizontal">
4
5 <div class="alert" ng-class="info.css_class" ng-show="info.message">
6 {{info.message}}
7 </div>
8
9 <fieldset>
10 <legend>
11 <%= locale en => 'Registration', hr => 'Registracija' %>
12 </legend>
13
14 <select
15         ng-model="registration.state"
16         ng-options="state for state in RegistrationState()"
17         class="my-label-select"
18         label="<%= locale en => 'State', hr => 'Stanje' %>"
19 >
20 </select>
21
22 </fieldset>
23
24 <fieldset>
25 <legend>
26 <%= locale en => 'Fees', hr => 'Plaćanja' %>
27 </legend>
28
29 <input
30         type="text"
31         ng-model="registration.payment.amount"
32         class="my-label-input"
33         label="<%= locale en => 'Amount', hr => 'Iznos' %>"
34         placeholder="50.00 kn"
35         ng-filter="[0-9]+[\.\,]*[0-9]+\s*(kn|eu)"
36 >
37
38 <input
39         type="date"
40         ng-model="registration.payment.date"
41         class="my-label-input"
42         label="<%= locale en => 'Date', hr => 'Datum' %>"
43 >
44
45 </fieldset>
46
47 <button class="btn btn-primary" ng-click="update(registration, registration.state, '<%= locale en => 'Registration saved', hr => 'Registracija spremljena' %>')" ng-show="RegistrationForm.$dirty">
48 <%= locale en => 'Save changes', hr => 'Spremi promjene' %>
49 </button>
50
51 %= $lang =~ m/-dev/ ? '{{registration.payment}} {{registration.state}}' : ''
52
53 <div class="well">
54 %= include 'registration/view'
55 </div>
56
57 </div>
58
59 % if ( $lang =~ m/-dev/ ) {
60 <pre>
61 $dirty = {{RegistrationForm.$dirty}}
62 $pristine = {{RegistrationForm.$pristine}}
63
64 {{registration}}
65 </pre>
66 % }
67
68 </form>
69
70