Projektverwaltung in eine eigene Datei ausgelagert und auf die Verwendung von Templat...
[kivitendo-erp.git] / templates / webpages / projects / project_form_de.html
1 [% USE HTML %][% USE LxERP %]<body>
2
3  [%- IF message %]
4  <p>[% message %]</p>
5
6  <hr>
7  [%- END %]
8
9  <form method="post" action="projects.pl">
10
11   <input type="hidden" name="project.id" value="[% HTML.escape(project.id) %]">
12
13   <div class="listtop">[% title %]</div>
14
15   <p>
16    <table>
17     <tr>
18      <th align="right">Nummer</th>
19      <td><input name="project.projectnumber" size="20" value="[% HTML.escape(project.projectnumber) %]"></td>
20     </tr>
21
22     <tr>
23      <th align="right">Beschreibung</th>
24      <td>
25       [%- SET rows = LxERP.numtextrows(project.description, 60) %]
26       [%- IF rows > 1 %]
27       <textarea name="project.description" rows="rows" cols="60" style="width: 100%" wrap="soft">[% HTML.escape(project.description) %]</textarea>
28       [%- ELSE %]
29       <input name="project.description" size="60" value="[% HTML.escape(project.description) %]">
30       [%- END %]
31      </td>
32     </tr>
33
34     [%- IF project.id %]
35     <tr>
36      <th align="right">&nbsp;</th>
37      <td>
38       <input type="radio" name="project.active" id="active_1" value="1"[% IF project.active %] checked[% END %]><label for="active_1">Aktiv</label>
39       <input type="radio" name="project.active" id="active_0" value="0"[% IF !project.active %] checked[% END %]><label for="active_0">Inaktiv</label>
40      </td>
41     </tr>
42     [%- END %]
43    </table>
44   </p>
45
46   <p><hr size="3" noshade></p>
47
48   <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
49
50   <p>
51    <input type="submit" class="submit" name="action" value="Speichern">
52    [%- IF project.id %]
53    <input type="submit" class="submit" name="action" value="als neu speichern">
54    [%- IF project.orphaned %]
55    <input type="submit" class="submit" name="action" value="Löschen">
56    [%- END %]
57    <input type="button" onclick="set_history_window([% HTML.escape(project.id) %]);" name="history" id="history" value="Historie">
58    [%- END %]
59   </p>
60  </form>
61
62 </body>
63 </html>