@@ -18,19 +18,35 @@ <h5 class="modal-title" id="modal-title">
1818
1919 < form class ="form-horizontal ">
2020
21+ <!--<div data-ng-if="!data.no_consumer" class="form-group">-->
22+ <!--<label class="col-sm-4 control-label"><strong>consumer</strong></label>-->
23+ <!--<div class="col-sm-7">-->
24+ <!--<input-->
25+ <!--type="text"-->
26+ <!--ng-model="data.consumer"-->
27+ <!--placeholder="search consumer..."-->
28+ <!--uib-typeahead="item as item.username for item in getConsumer($viewValue)"-->
29+ <!--typeahead-template-url="js/app/plugins/modals/custom-template.html"-->
30+ <!--class="form-control"-->
31+ <!--typeahead-wait-ms="200"-->
32+ <!--typeahead-show-hint="true"-->
33+ <!--typeahead-min-length="0">-->
34+ <!--<p class="help-block">-->
35+ <!--The CONSUMER ID that this plugin configuration will target.-->
36+ <!--This value can only be used if authentication has been enabled-->
37+ <!--so that the system can identify the user making the request.-->
38+ <!--If left blank, the plugin will be applied to all consumers.-->
39+ <!--</p>-->
40+ <!--</div>-->
41+ <!--</div>-->
2142 < div data-ng-if ="!data.no_consumer " class ="form-group ">
2243 < label class ="col-sm-4 control-label "> < strong > consumer</ strong > </ label >
2344 < div class ="col-sm-7 ">
2445 < input
2546 type ="text "
26- ng-model ="data.consumer "
27- placeholder ="search consumer... "
28- uib-typeahead ="item as item.username for item in getConsumer($viewValue) "
29- typeahead-template-url ="js/app/plugins/modals/custom-template.html "
47+ ng-model ="data.consumer_id "
3048 class ="form-control "
31- typeahead-wait-ms ="200 "
32- typeahead-show-hint ="true "
33- typeahead-min-length ="0 ">
49+ >
3450 < p class ="help-block ">
3551 The CONSUMER ID that this plugin configuration will target.
3652 This value can only be used if authentication has been enabled
0 commit comments