1 [%- USE HTML -%][%- USE T8 -%]
2 <h1>[% 'Add unit' | $T8 %]</h1>
4 [% PROCESS "am/_units_header_info.html" %]
8 <form method="post" action="[% HTML.escape(script) %]" id="form">
10 <input type="hidden" name="type" value="unit">
14 <th align="right">[% 'Unit' | $T8 %]</th>
15 <td><input name="new_name" size="20" maxlength="20"></td>
18 <th align="right">[% 'Base unit' | $T8 %]</th>
20 <select name="new_base_unit">
21 [% FOREACH row = NEW_BASE_UNIT_DDBOX %]<option [% row.selected %]>[% row.name %]</option>[% END %]
26 <th align="right">[% 'Factor' | $T8 %]</th>
27 <td><input name="new_factor"></td>
30 [% FOREACH language = LANGUAGES %]
32 <th align="right">[% language.description %]</th>
33 <td><input name="new_localized_[% language.id %]" size="20" maxlength="20"></td>
34 <th align="right">[% 'Plural' | $T8 %]</th>
35 <td><input name="new_localized_plural_[% language.id %]" size="20" maxlength="20"></td>