aboutsummaryrefslogtreecommitdiffstats
path: root/share/skin/default/layout/field/choose_one.tt
blob: ec1814ac3dac6b7f4c2e8643f7df99d7105dec4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
=extends field

=for layout field

<!-- We need a replacement for process_attrs -->
<select name="[% field_name %]" id="[% field_id %]">
  [% option_is_required %]
  [% option_list %]
</select>

=for layout option_is_required_yes

=for layout option_is_required_no

<option value="">--</option>

=for layout option

  <option value="[% option_value %]" [% option_is_selected %]
    > [% option_name %]</option>

=for options_is_selected_yes

selected="selected"

=for option_is_selected_no

=cut