SHARE
TWEET

Untitled

a guest Jan 26th, 2016 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="form-group">
  2.                                     <label for="contain">Contains the words</label>
  3.                                     <input  ng-change="searchPressed()" class="form-control" type="text" ng-model="search.text" placeholder="Search for groups"/>
  4.                                   </div>
  5.                                   <div class="form-group">
  6.                                     <label for="filter">Filter by category</label>
  7.                                     <select  ng-change="searchPressed()" class="form-control" ng-model="categories.id" >
  8.                                         <option value="0">All Categories</option>
  9.                                         <option value="{{category.id}}" ng-repeat="category in categories.list">{{category.name}}</option>
  10.                                     </select>
  11.                                   </div>
  12.                                  
  13.                                   <div class="form-group">
  14.                                     <label for="contain">Tagged as</label>
  15.                                     <tags-input  class="form-control" class="form-control" on-tag-added="tags.onTagAdded($tag); searchPressed()" on-tag-removed="tags.onRemoved($tag); searchPressed()" ng-model="tags.list">
  16.                                         <auto-complete source="tags.autocomplete($query)"></auto-complete>
  17.                                     </tags-input>  
  18.                                   </div>
  19.  
  20.                                   <div class="form-group">
  21.                                     <label for="filter">Sort by</label>
  22.                                     <select  ng-change="searchPressed()" class="form-control" ng-model="orderBy.method">
  23.                                         <option value="date_created_desc">Date created (New - Old)</option>
  24.                                         <option value="date_created_asc">Date created (Old - New)</option>
  25.                                         <option value="date_start_desc">Date start (Later - Soon)</option>
  26.                                         <option value="date_start_asc">Date start (Soon - Later)</option>
  27.                                         <option value="alphabetical_asc">Alphabetical (A - Z)</option>
  28.                                         <option value="alphabetical_desc">Alphabetical (Z - A)</option>
  29.                                     </select>
  30.                                   </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top