|
Lines 77-87
Link Here
|
| 77 |
<label for="units">Units:</label> |
77 |
<label for="units">Units:</label> |
| 78 |
<select id="units" name="units"> |
78 |
<select id="units" name="units"> |
| 79 |
[% FOREACH unit IN units %] |
79 |
[% FOREACH unit IN units %] |
| 80 |
[% IF ( unit.selected ) %] |
80 |
[% IF ( unit.selected ) %] |
| 81 |
<option value="[% unit.type %]" selected="selected"> |
81 |
<option value="[% unit.type %]" selected="selected"> |
| 82 |
[% ELSE %] |
82 |
[% ELSE %] |
| 83 |
<option value="[% unit.type %]"> |
83 |
<option value="[% unit.type %]"> |
| 84 |
[% END %] |
84 |
[% END %] |
| 85 |
|
85 |
|
| 86 |
[% SWITCH unit.type %] |
86 |
[% SWITCH unit.type %] |
| 87 |
[% CASE 'POINT' %] |
87 |
[% CASE 'POINT' %] |
| 88 |
- |
|
|