]> wagnertech.de Git - mfinanz.git/blobdiff - templates/webpages/project/form.html
Preisfaktoren könnten zwar über ihren Faktorwert in Rechnungen gespeichert werde...
[mfinanz.git] / templates / webpages / project / form.html
index 5b2594cdbaf30498311916a8ddc58f14e36860eb..52cd78221ae3929e922bfeefb079a86a3ce24042 100644 (file)
@@ -2,9 +2,9 @@
 [%- USE L %][%- USE P %]
 [%- USE HTML %][%- USE LxERP %]
 
-[%- INCLUDE 'common/flash.html' %]
+<h1>[% title %]</h1>
 
- <div class="listtop">[% title %]</div>
+[%- INCLUDE 'common/flash.html' %]
 
  <form method="post" action="controller.pl">
   [% L.hidden_tag("callback", callback) %]
@@ -26,7 +26,7 @@
     <table>
      <tr>
       <th align="right">[% 'Number' | $T8 %]</th>
-      <td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, size=60) %]</td>
+      <td>[% L.input_tag("project.projectnumber", SELF.project.projectnumber, size=60, class='initial_focus') %]</td>
      </tr>
 
      <tr>
@@ -42,8 +42,8 @@
      </tr>
 
      <tr>
-      <th align="right">[% 'Type' | $T8 %]</th>
-      <td>[% L.input_tag('project.type', SELF.project.type, size=60) %]</td>
+      <th align="right">[% 'Project Type' | $T8 %]</th>
+      <td>[% L.select_tag('project.project_type_id', ALL_PROJECT_TYPES, default=SELF.project.project_type_id, title_key='description', style='width: 300px') %]</td>
      </tr>
 
      <tr>
@@ -90,7 +90,6 @@
   </div>
 
   <p>
-   [% L.online_help_tag('add_project') %]
    [% L.hidden_tag("action", "Project/dispatch") %]
    [% L.submit_tag("action_" _  (SELF.project.id ? "update" : "create"), LxERP.t8('Save')) %]
    [%- IF SELF.project.id %]