Merge branch 'testacular' of mjesec.ffzg.hr:/git/angular-drzb into testacular
[angular-drzb] / app / partials / review.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 => 'Review', hr => 'Recenzija' %>
12 </legend>
13
14 <input class="my-label-input" ng-model="registration.review.person" label="Recenzent" placeholder="Ime Prezime" >
15
16 <input class="my-label-input" ng-model="registration.review.note" label="BiljeÅ¡ka" >
17
18 <button class="btn btn-primary" ng-click="update(registration, registration.state, '<%= locale en => 'Changes saved', hr => 'Promjene spremljene' %>')" ng-show="RegistrationForm.$dirty">
19 <%= locale en => 'Save changes', hr => 'Spremi promjene' %>
20 </button>
21
22 <div class="well">
23 %= include 'registration/view'
24 </div>
25
26 </div>
27
28 % if ( $lang =~ m/-dev/ ) {
29 <pre>
30 $dirty = {{RegistrationForm.$dirty}}
31 $pristine = {{RegistrationForm.$pristine}}
32
33 {{registration}}
34 </pre>
35 % }
36
37 </form>
38
39