1 <div ng-show="! ready">
6 <form ng-controller="ListCtrl" class="form-search" ng-show="ready">
8 <h2>Odaberite tip registracije</h2>
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}}" >
17 <i>{{type.description}}</i>
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>
31 <div ng-show="list.length">
33 <h2>Prijavljenje registracije {{search.registration_type}}</h2>
37 <li ng-repeat="registration in list">
38 %= include 'registration/view'
43 </div><!-- ng-show="list.length"-->