2 <div ng-show="! ready" class="alert alert-important">
6 <form ng-controller="ListCtrl" class="form-search" ng-show="ready">
9 <fieldset ng-show="show.registration_type">
11 Odaberite tip registracije
14 <label class="radio input-block-level" ng-repeat="type in RegistrationTypes" ng-switch on="type.code">
15 <hr ng-switch-when="false">
16 <span ng-switch-default>
17 <span class="badge {{type.css_class}}">{{Counts[type.code]}}</span>
18 <input type="radio" name="search.registration_type" ng-model="search.registration_type" value="{{type.code}}" >
21 <i>{{type.description}}</i>
23 <span class="badge" ng-repeat="filter in filters" ng-show="Counts[type.code+'+'+filter.name]"+>
24 {{Counts[type.code+'+'+filter.name]}} {{filter.label}}
31 <fieldset ng-show="show.filters">
36 <label class="badge filter-{{search[filter.name]}}" ng-repeat="filter in filters" >
37 <input ng-model="search[filter.name]" type="checkbox">
38 {{Counts[filter.name]}}
49 <input class="my-lebel-input search-query" ng-model="search.$" label="Search">
51 <a class="btn btn-invert" href="" ng-click="reset()">
52 <i class="icon-remove"></i></a>
54 <b>{{pager.results}} results</b>
58 <input type="checkbox" ng-model="pager.show_all">
59 All results on single page <b>(can be slow!)</b>
64 <fieldset ng-show="show.states">
65 <button ng-repeat="state in ValidStates" ng-click="search.$ = state" class="btn {{state}}">
66 <span class="badge">{{Counts['state+'+state]}}</span>
71 <fieldset ng-show="show.pager_numeric">
72 <input type="number" ng-model="pager.page" size="3" min="1" max="{{pager.last_page}}">
73 <input type="number" ng-model="pager.limit">
77 <div ng-show="list.length" class="content">
79 <pagination class="pagination-large" max-size="12"
80 num-pages="pager.last_page"
81 current-page="pager.page"
82 hide-pagination="pager.show_all"
85 <dl ng-repeat="registration in list">
86 %= include 'registration/view', before => begin
88 <a class="btn btn-primary" href="#/verified/{{registration.id}}">change status</a>
92 <pagination class="pagination-large" max-size="12"
93 num-pages="pager.last_page"
94 current-page="pager.page"
95 hide-pagination="pager.show_all"
98 </div><!-- ng-show="list.length"-->
100 % if ( $lang =~ m/-dev/ ) {
101 <pre class="controls-row">