0e484dfc505ad1d81febddf21b0fe61e001ac62c
[kivitendo-erp.git] / templates / webpages / am / edit_price_factor.html
1 [%- USE T8 %]
2 [%- USE HTML %]
3 <h1>[% title %]</h1>
4
5
6  [% IF MESSAGE %]<p>[% MESSAGE %]</p>[% END %]
7
8  <form method="post" action="am.pl">
9
10   <p>
11    <table border="0">
12     <tr>
13      <td align="right">[% 'Description' | $T8 %]</td>
14      <td><input id="description" name="description" value="[% HTML.escape(description) %]" class="initial_focus"></td>
15     </tr>
16
17     <tr>
18      <td align="right">[% 'Factor' | $T8 %]</td>
19 [% IF !id || orphaned %]
20      <td><input name="factor" value="[% HTML.escape(factor) %]"></td>
21 [% ELSE %]
22      <td><input type="hidden" name="factor" value="[% HTML.escape(factor) %]">
23          [% HTML.escape(factor) %] [% ' (in use so no change allowed)' | $T8 %]</td>
24 [% END %]
25     </tr>
26    </table>
27   </p>
28
29   <p>
30    <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
31
32    <input type="hidden" name="type" value="price_factor">
33
34    <input type="hidden" name="id" value="[% HTML.escape(id) %]">
35    <input type="submit" name="action" value="[% 'Save' | $T8 %]">
36    [% IF id %][% IF orphaned %]<input type="submit" name="action" value="[% 'Delete' | $T8 %]">[% END %][% END %]
37   </p>
38  </form>