[%- USE T8 %] [% USE HTML %]
[% 'Step 2 of 3: Services' | $T8 %]
[% IF saved_message %]

[% saved_message %]

[% END %]
[% 'Add unit' | $T8 %]

[%- 'For each unit there\'s either no or exactly one base unit. If you chose a base unit then you also have to chose a factor. That way the new unit will be defined as a multiple of the base unit. The base unit must be the "smaller" one. A factor may not be less than 1. Therefore you may define "kg" with the base unit "g" and a factor of "1", but not the other way round.' | $T8 %]

[% 'The following units exist already:' | $T8 %] [% FOREACH row = NEW_BASE_UNIT_DDBOX %][% IF row.name %][% HTML.escape(row.name) %][% UNLESS loop.last %]; [% END %][% END %][% END %]


[% 'Unit' | $T8 %]
[% 'Base unit' | $T8 %]
[% 'Factor' | $T8 %]

[% 'Assign new units' | $T8 %]

[% 'The following units are unknown.' | $T8 %] [% 'You have to chose which unit to save for each of them.' | $T8 %]

[% FOREACH row = UNKNOWN_PART_UNITS %] [% IF loop.last %][% END %] [% END %]
[% 'Current unit' | $T8 %] [% 'New unit' | $T8 %]
[% HTML.escape(row.name) %]