1 <form ng-submit="ok(note)" role="form">
2 <div class="modal-header">
3 <button type="button" class="close" ng-click="cancel()"
4 aria-hidden="true">×</button>
5 <h4 class="modal-title">[% l('Apply Copy Tags') %]</h4>
7 <div class="modal-body">
9 <li ng-repeat="map in tag_map" ng-show="!map.isdeleted()">
10 <span class="copy_tag_label">{{map.tag().label()}}</span>
11 <button type="button" ng-click="map.isdeleted(1)" class="btn btn-xs btn-warning">[% ('Remove') %]</button>
15 <div class="col-md-12 form-inline">
16 <div class="form-group">
17 <label for="tagType">[% l('Tag Type') %]</label>
18 <select class="form-control" name="tagType" ng-model="tag_type"
19 ng-options="t.code() as t.label() for t in tag_types"></select>
21 <div class="form-group">
22 <label for="tagLabel">[% l('Tag') %]</label>
23 <input name="tabLabel" type="text" ng-model="selectedLabel" placeholder="[% l('Enter tag label...') %]"
24 uib-typeahead="tag for tag in getTags($viewValue)" typeahead-editable="false"
25 class="form-control"></input>
27 <button type="button" class="btn btn-sm btn-default" ng-click="addTag()">[% l('Add Tag') %]</button>
31 <div class="modal-footer">
33 <div class="col-md-12 pull-right">
34 <input type="submit" class="btn btn-primary" value="[% l('OK') %]"/>
35 <button class="btn btn-warning" ng-click="cancel($event)">[% l('Cancel') %]</button>