Merge pull request #19017 from eileenmcnaughton/remove_recur
[civicrm-core.git] / ang / api4Explorer / SaveSearch.html
CommitLineData
4e97c268
CW
1<form id="bootstrap-theme">
2 <div ng-controller="SaveSearchCtrl">
d7507e89 3 <input class="form-control" id="api-save-search-select-group" ng-model="model.id" crm-entityref="groupEntityRefParams" >
f9c5f498 4 <label ng-show="!model.id">{{:: ts('Or') }}</label>
4e97c268 5 <input class="form-control" placeholder="Create new group" ng-model="model.title" ng-show="!model.id">
d7507e89 6 <hr />
f9c5f498 7 <label>{{:: ts('Description:') }}</label>
d7507e89 8 <textarea class="form-control" ng-model="model.description"></textarea>
f9c5f498 9 <label>{{:: ts('Group Type:') }}</label>
d7507e89
CW
10 <div class="form-inline">
11 <div class="checkbox" ng-repeat="(key, label) in options.group_type">
12 <label>
13 <input type="checkbox" checklist-model="model.group_type" checklist-value="key">
14 {{ label }}
15 </label>
16 </div>
17 </div>
f9c5f498 18 <label>{{:: ts('Visibility:') }}</label>
d7507e89 19 <select class="form-control" ng-model="model.visibility" ng-options="name as value for (name, value) in options.visibility"></select>
4e97c268
CW
20 <hr />
21 <div class="buttons pull-right">
f9c5f498
CW
22 <button type="button" ng-click="cancel()" class="btn btn-danger">{{:: ts('Cancel') }}</button>
23 <button ng-click="save()" class="btn btn-primary" ng-disabled="!model.title && !model.id">{{:: ts('Save') }}</button>
4e97c268
CW
24 </div>
25 </div>
26</form>