1 [% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]
3 <form method="post" action="controller.pl">
4 <div class="listtop">[% FORM.title %]</div>
6 [%- INCLUDE 'common/flash.html' %]
10 <td>[%- 'Description' | $T8 %]</td>
12 <input name="delivery_term.description" value="[%- HTML.escape(SELF.delivery_term.description) %]">
17 <td>[%- 'Long Description' | $T8 %]</td>
19 <input name="delivery_term.description_long" value="[%- HTML.escape(SELF.delivery_term.description_long) %]" size="60">
23 [%- FOREACH language = SELF.languages %]
25 <td>[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])</td>
27 <input name="translation_[% language.id %]" value="[%- HTML.escape(SELF.delivery_term.translated_attribute('description_long', language, 1)) %]" size="60">
33 <input type="hidden" name="id" value="[% SELF.delivery_term.id %]">
34 <input type="hidden" name="action" value="DeliveryTerm/dispatch">
35 <input type="submit" class="submit" name="action_[% IF SELF.delivery_term.id %]update[% ELSE %]create[% END %]" value="[% 'Save' | $T8 %]">
36 [%- IF SELF.delivery_term.id %]
37 <input type="submit" class="submit" name="action_destroy" value="[% 'Delete' | $T8 %]"
38 onclick="if (confirm('[% 'Are you sure you want to delete this delivery term?' | $T8 %]')) return true; else return false;">
40 <a href="[% SELF.url_for(action => 'list') %]">[%- 'Abort' | $T8 %]</a>