<h1> Registracija i prijavljivanje izlaganja</h1>
-<form ng-controller="RegistrationCtrl" name="RegistrationForm">
+<form ng-controller="RegistrationCtrl" name="RegistrationForm" class="form-horizontal">
-<div class="well">
-<label><%= locale
-en => 'Accepted',
-hr => 'Prihvaćena' %>
+<fieldset>
+<legend>
+<%= locale en => 'Registration status', hr => 'Status registracije' %>
+</legend>
+
+<label class="checkbox">
<input type="checkbox" ng-model="registration.accepted">
+<%= locale
+en => 'Registration verified',
+hr => 'Provjerena registracija' %>
</label>
+<fieldset>
+<legend>
+<%= locale en => 'Fees', hr => 'Plaćanja' %>
+</legend>
+
+<input
+ type="number"
+ ng-model="registration.payment.amount"
+ class="my-label-input"
+ label="<%= locale en => 'Amount', hr => 'Iznos' %>"
+>
+
+<input
+ type="date"
+ ng-model="registration.payment.date"
+ class="my-label-input"
+ label="<%= locale en => 'Date', hr => 'Datum' %>"
+>
+
+</fieldset>
+
<button class="btn btn-primary" ng-click="update(registration,'accepted')" ng-show="RegistrationForm.$dirty">Save changes</button>
-</div>
+%= $lang =~ m/-dev/ ? '{{registration.payment}}' : ''
<div class="well">
%= include 'registration/view'
<li ng-repeat="registration in list">
{{registration.nr}}
-<a class="btn btn-invert" href="#/accepted/{{registration.id}}" target="{{registration.id}}">accept</a>
+<a class="btn btn-primary" href="#/accepted/{{registration.id}}" target="{{registration.id}}">change status</a>
%= include 'registration/view'
</li>