accepted state and edit checkbox
[angular-drzb] / app / partials / accepted.html.ep
1 <h1> Registracija i prijavljivanje izlaganja</h1>
2
3 <form ng-controller="RegistrationCtrl" name="RegistrationForm">
4
5 <div class="well">
6 <label><%= locale
7 en => 'Accepted',
8 hr => 'Prihvaćena' %>
9 <input type="checkbox" ng-model="registration.accepted">
10 </label>
11
12 <button class="btn btn-primary" ng-click="update(registration,'accepted')" ng-show="RegistrationForm.$dirty">Save changes</button>
13
14 </div>
15
16 <div class="well">
17 %= include 'registration/view'
18 </div>
19
20 </div>
21
22 % if ( $lang =~ m/-dev/ ) {
23 <pre>
24 $dirty = {{RegistrationForm.$dirty}}
25 $pristine = {{RegistrationForm.$pristine}}
26
27 {{registration}}
28 </pre>
29 % }
30
31 </form>
32
33