1 <form id=
"bootstrap-theme">
2 <div ng-controller=
"SaveSmartGroup">
3 <input class=
"form-control" id=
"api-save-search-select-group" ng-model=
"model.id" crm-entityref=
"groupEntityRefParams" >
4 <label ng-show=
"!model.id">{{:: ts('Or') }}
</label>
5 <input class=
"form-control" placeholder=
"Create new group" ng-model=
"model.title" ng-show=
"!model.id">
7 <label>{{:: ts('Description:') }}
</label>
8 <textarea class=
"form-control" ng-model=
"model.description"></textarea>
9 <label>{{:: ts('Group Type:') }}
</label>
10 <div class=
"form-inline">
11 <div class=
"checkbox" ng-repeat=
"option in groupFields.group_type.options track by option.id">
13 <input type=
"checkbox" checklist-model=
"model.group_type" checklist-value=
"option.id">
18 <label>{{:: ts('Visibility:') }}
</label>
19 <select class=
"form-control" ng-model=
"model.visibility" ng-options=
"item.id as item.label for item in groupFields.visibility.options track by item.id"></select>
21 <div class=
"buttons pull-right">
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>