]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/am/edit_price_factor.html
Dokumentationslink bei Vorlagen bearbeiten angepasst
[mfinanz.git] / templates / webpages / am / edit_price_factor.html
index 1396012f676623cad0d3658eb8f5e1bad2b42273..0e484dfc505ad1d81febddf21b0fe61e001ac62c 100644 (file)
@@ -1,9 +1,9 @@
 [%- USE T8 %]
 [%- USE HTML %]
+<h1>[% title %]</h1>
 
- [% IF MESSAGE %]<p>[% MESSAGE %]</p>[% END %]
 
- <div class="listtop">[% title %]</div>
+ [% IF MESSAGE %]<p>[% MESSAGE %]</p>[% END %]
 
  <form method="post" action="am.pl">
 
 
     <tr>
      <td align="right">[% 'Factor' | $T8 %]</td>
-[% IF orphaned %]
+[% IF !id || orphaned %]
      <td><input name="factor" value="[% HTML.escape(factor) %]"></td>
 [% ELSE %]
-     <td>[% HTML.escape(factor) %] [% ' (in use so no change allowed)' | $T8 %]</td>
+     <td><input type="hidden" name="factor" value="[% HTML.escape(factor) %]">
+         [% HTML.escape(factor) %] [% ' (in use so no change allowed)' | $T8 %]</td>
 [% END %]
     </tr>
    </table>