Merge branch 'bankerweiterung_und_skonto'
[kivitendo-erp.git] / templates / webpages / am / edit_price_factor.html
index 6ca175a..0e484df 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">
 
@@ -16,7 +16,7 @@
 
     <tr>
      <td align="right">[% 'Factor' | $T8 %]</td>
-[% IF orphaned %]
+[% IF !id || orphaned %]
      <td><input name="factor" value="[% HTML.escape(factor) %]"></td>
 [% ELSE %]
      <td><input type="hidden" name="factor" value="[% HTML.escape(factor) %]">