1 <form ng-submit="ok(args)" role="form">
4 /* odd/even row styling */
5 .modal-body > div:nth-child(odd) {
6 background-color: rgb(248, 248, 248);
10 <div class="modal-header">
11 <button type="button" class="close" ng-click="cancel()"
12 aria-hidden="true">×</button>
13 <h4 class="modal-title" ng-if="rows.length != 1">
14 [% l('Apply Binding Unit Template to [_1] Selected Distributions','{{rows.length}}') %]
16 <h4 class="modal-title" ng-if="rows.length == 1">
17 [% l('Apply Binding Unit Template to [_1] Selected Distribution','{{rows.length}}') %]
21 <div class="modal-body">
23 <div class="col-md-8">
25 [% l('Distribution Library') %]
28 <div class="col-md-4">
30 [% l('Binding Unit Template') %]
34 <div class="row" ng-repeat="lib in libs">
35 <div class="col-md-8">
36 <label for="ou_{{lib.id}}">
40 <div class="col-md-4">
41 <select id="ou_{{lib.id}}"
42 ng-model="args.bind_unit_template[lib.id]"
43 ng-options="t.id as t.name for t in templates[lib.id]"
45 <option value=""></option>
51 <div class="modal-footer">
52 <input type="submit" class="btn btn-primary" value="[% l('Update') %]"></input>
53 <button class="btn btn-warning" ng-click="cancel()">[% l('Cancel') %]</button>