use bedge bootstrap class for counts
[angular-drzb] / app / partials / list.html.ep
1 <div ng-show="! ready">
2 Loading data...
3 </div>
4
5
6 <form ng-controller="ListCtrl" class="form-search" ng-show="ready">
7
8 <h2>Odaberite tip registracije</h2>
9
10 <label class="radio input-block-level" ng-repeat="type in RegistrationTypes" ng-switch on="type.code" ng-show="RegistrationTypeCount[type.code] > 0">
11 <hr ng-switch-when="false">
12 <span ng-switch-default>
13  <span class="badge {{type.css_class}}">{{RegistrationTypeCount[type.code]}}</span>
14  <input type="radio" name="search.registration_type" ng-model="search.registration_type" value="{{type.code}}" >
15  {{type.label}}
16 <!--
17  <i>{{type.description}}</i>
18 -->
19 </span>
20 </label>
21
22 <div>
23 Search:
24 <input class="search-query" ng-model="search.$">
25 <a class="btn btn-invert" href="" ng-click="search.$ = ''">
26 <i class="icon-remove"></i></a>
27 <b>{{list.length}} results</b>
28 <tt>{{search}}</tt>
29 </div>
30
31 <div ng-show="list.length">
32
33 <h2>Prijavljenje registracije {{search.registration_type}}</h2>
34
35
36 <ol>
37 <li ng-repeat="registration in list">
38 %= include 'registration/view'
39 </li>
40
41 </ol>
42
43 </div><!-- ng-show="list.length"-->
44
45 </form>
46