equal
deleted
inserted
replaced
|
1 {% comment %} |
|
2 Licensed under the Apache License, Version 2.0 (the "License"); |
|
3 you may not use this file except in compliance with the License. |
|
4 You may obtain a copy of the License at |
|
5 |
|
6 http://www.apache.org/licenses/LICENSE-2.0 |
|
7 |
|
8 Unless required by applicable law or agreed to in writing, software |
|
9 distributed under the License is distributed on an "AS IS" BASIS, |
|
10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
11 See the License for the specific language governing permissions and |
|
12 limitations under the License. |
|
13 {% endcomment %} |
|
14 |
|
15 <script type="text/javascript"> |
|
16 $(document).ready( function() { |
|
17 $('#id_{{ field_label }}').multiSelect({ |
|
18 selectAll: false, |
|
19 noneSelected: 'Any', |
|
20 oneOrMoreSelected: '*' |
|
21 }); |
|
22 }); |
|
23 </script> |
|
24 |
|
25 <div class="column"> |
|
26 <div class="top"><strong>{{ field_label }}:</strong></div> |
|
27 <div class="bottom"> |
|
28 <select id="id_{{ field_label }}" name="{{ field_label }}" |
|
29 multiple="multiple"> |
|
30 {% for value in field_value %} |
|
31 <option value="{{ value }}">{{ value }}</option> |
|
32 {% endfor %} |
|
33 </select> |
|
34 </div> |
|
35 </div> |
|
36 |