- <input type="hidden" name="type" value="unit">
-
- <table width="100%">
- <tr>
- <th class="listtop" colspan="2">[% title %]</th>
- </tr>
- <tr height="5"></tr>
- </table>
-
- <p>
- [% LxERP.t8('All units have either no or exactly one base unit of which they are multiples.') %]
- [% LxERP.t8('If you select a base unit then you also have to enter a factor.') %]
- [% LxERP.t8('You have to define a unit as a multiple of a smaller unit.') %]
- [% LxERP.t8('Therefore the definition of "kg" with the base unit "g" and a factor of 1000 is valid while defining "g" with a base unit of "kg" and a factor of "0.001" is not.') %]
- </p>
-
- <hr>
-
- <table width="100%">
- <tr><th class="listtop">[% 'Add unit' | $T8 %]</th></tr>
- </table>
-
- <table>
- <tr>
- <th align="right">[% 'Unit' | $T8 %]</th>
- <td><input name="new_name" size="20" maxlength="20"></td>
- </tr>
- <tr>
- <th align="right">[% 'Base unit' | $T8 %]</th>
- <td>
- <select name="new_base_unit">
- [% FOREACH row = NEW_BASE_UNIT_DDBOX %]<option [% row.selected %]>[% row.name %]</option>[% END %]
- </select>
- </td>
- </tr>
- <tr>
- <th align="right">[% 'Factor' | $T8 %]</th>
- <td><input name="new_factor"></td>
- </tr>