1 <div ng-show="! ready">
6 <form ng-controller="ListCtrl" class="form-search" ng-show="ready">
8 <div class="controls-row">
10 <h2>Odaberite tip registracije</h2>
12 <label class="radio input-block-level" ng-repeat="type in RegistrationTypes" ng-switch on="type.code" ng-show="Counts[type.code] > 0">
13 <hr ng-switch-when="false">
14 <span ng-switch-default>
15 <span class="badge {{type.css_class}}">{{Counts[type.code]}}</span>
16 <input type="radio" name="search.registration_type" ng-model="search.registration_type" value="{{type.code}}" >
19 <i>{{type.description}}</i>
21 <span class="badge" ng-repeat="subtype in filters" ng-show="Counts[type.code+'+'+subtype]"+>
22 {{Counts[type.code+'+'+subtype]}} {{subtype}}
29 <div class="controls-row">
31 <label class="badge" ng-repeat="filter in filters">
32 <input ng-model="search[filter]" type="checkbox">
33 <span class="blob">{{Counts[filter]}}</span>
43 <input class="search-query" ng-model="search.$">
46 <a class="btn btn-invert" href="" ng-click="search = {}">
47 <i class="icon-remove"></i></a>
48 <b>{{list.length}} results</b>
52 <div ng-show="list.length">
54 <h2>Prijavljenje registracije {{search.registration_type}}</h2>
58 <li ng-repeat="registration in list">
59 %= include 'registration/view'
64 </div><!-- ng-show="list.length"-->
66 % if ( $lang =~ m/-dev/ ) {
67 <pre class="controls-row">