5a540ee3da9c0246ced9811001fa8b371241264b
[kivitendo-erp.git] / templates / webpages / part / _edit_translations.html
1 [%- USE HTML %][%- USE L -%][%- USE P -%][%- USE LxERP -%]
2
3 <div id="translations_tab">
4  <table>
5   <tr class="listheading">
6    <th>[% LxERP.t8("Language") %]</th>
7    <th>[% LxERP.t8("Description") %]</th>
8    <th>[% LxERP.t8("Long Description") %]</th>
9   </tr>
10
11   [%- FOREACH language = SELF.all_languages %]
12    [% SET language_id = language.id
13           translation = translations_map.$language_id %]
14    <tr class="listrow" valign="top">
15     <td>
16       [% L.hidden_tag('translations[+].language_id', language.id) %]
17       [% HTML.escape(language.description) %]
18     </td>
19     <td>[% L.areainput_tag("translations[].translation", translation.translation, size=40) %]</td>
20     <td>[% L.textarea_tag("translations[].longdescription", P.restricted_html(translation.longdescription), id="translations_longdescription_" _ language_id, class="texteditor", style="width: 500px; height: 100px") %]</td>
21    </tr>
22   [%- END %]
23  </table>
24 </div>