Lines 77-90
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 |
|
|
|
81 |
[% IF ( unit.selected ) %] |
80 |
[% IF ( unit.selected ) %] |
82 |
<option value="[% unit.type %]" selected="selected"> |
81 |
<option value="[% unit.type %]" selected="selected"> |
83 |
[% ELSE %] |
82 |
[% ELSE %] |
84 |
<option value="[% unit.type %]"> |
83 |
<option value="[% unit.type %]"> |
85 |
[% END %] |
84 |
[% END %] |
86 |
|
85 |
|
87 |
[% unit.desc %] |
86 |
[% SWITCH unit.type %] |
|
|
87 |
[% CASE 'POINT' %] |
88 |
PostScript Points |
89 |
[% CASE 'AGATE' %] |
90 |
Adobe Agates |
91 |
[% CASE 'INCH' %] |
92 |
US Inches |
93 |
[% CASE 'MM' %] |
94 |
SI Millimeters |
95 |
[% CASE 'CM' %] |
96 |
SI Centimeters |
97 |
[% END %] |
88 |
</option> |
98 |
</option> |
89 |
[% END %] |
99 |
[% END %] |
90 |
</select> |
100 |
</select> |
91 |
- |
|
|