]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/am/add_unit.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / am / add_unit.html
1 [% USE HTML %]
2 [% USE T8 %]
3
4 <h1>[% 'Add unit' | $T8 %]</h1>
5
6 [% PROCESS "am/_units_header_info.html" %]
7
8 <form method="post" action="[% HTML.escape(script) %]" id="form">
9 <div class="wrapper">
10   <input type="hidden" name="type" value="unit">
11
12   <table class="tbl-horizontal">
13       <colgroup> <col class="wi-normal"><col class="wi-lightwide"> </colgroup>
14     <tbody>
15       <tr>
16         <th>[% 'Unit' | $T8 %]</th>
17         <td><input type="text" name="new_name" size="20" class="wi-normal"></td>
18       </tr>
19       <tr>
20         <th>[% 'Base unit' | $T8 %]</th>
21         <td>
22           <select name="new_base_unit" class="wi-normal">
23             [% FOREACH row = NEW_BASE_UNIT_DDBOX %]
24               <option [% row.selected %]>[% row.name %]</option>
25             [% END %]
26           </select>
27         </td>
28       </tr>
29       <tr>
30         <th>[% 'Factor' | $T8 %]</th>
31         <td><input type="text" name="new_factor" class="wi-normal"></td>
32       </tr>
33     </tbody>
34   </table>
35
36   <table class="tbl-horizontal">
37     <caption>[% 'Translations' | $T8 %]</caption>
38     <colgroup> <col class="wi-normal"><col class="wi-lightwide"><col class="wi-small"><col class="wi-lightwide"> </colgroup>
39     <tbody>
40       [% FOREACH language = LANGUAGES %]
41         <tr>
42           <th>[% language.description %]</th>
43           <td><input type="text" name="new_localized_[% language.id %]" class="wi-normal" maxlength="20"></td>
44           <th>[% 'Plural' | $T8 %]</th>
45           <td><input type="text" name="new_localized_plural_[% language.id %]" class="wi-normal" maxlength="20"></td>
46         </tr>
47       [% END %]
48     </tbody>
49   </table>
50
51
52
53
54
55 </div><!-- /.wrapper -->
56 </form>