1 [% USE HTML %][% USE LxERP %]<body>
9 <form method="post" action="projects.pl">
11 <input type="hidden" name="project.id" value="[% HTML.escape(project.id) %]">
13 <div class="listtop">[% title %]</div>
18 <th align="right"><translate>Number</translate></th>
19 <td><input name="project.projectnumber" size="20" value="[% HTML.escape(project.projectnumber) %]"></td>
23 <th align="right"><translate>Description</translate></th>
25 [%- SET rows = LxERP.numtextrows(project.description, 60) %]
27 <textarea name="project.description" rows="rows" cols="60" style="width: 100%" wrap="soft">[% HTML.escape(project.description) %]</textarea>
29 <input name="project.description" size="60" value="[% HTML.escape(project.description) %]">
36 <th align="right"> </th>
38 <input type="radio" name="project.active" id="active_1" value="1"[% IF project.active %] checked[% END %]><label for="active_1"><translate>Active</translate></label>
39 <input type="radio" name="project.active" id="active_0" value="0"[% IF !project.active %] checked[% END %]><label for="active_0"><translate>Inactive</translate></label>
46 <p><hr size="3" noshade></p>
48 <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
51 <input type="submit" class="submit" name="action" value="<translate>Save</translate>">
53 <input type="submit" class="submit" name="action" value="<translate>Save as new</translate>">
54 [%- IF project.orphaned %]
55 <input type="submit" class="submit" name="action" value="<translate>Delete</translate>">
57 <input type="button" onclick="set_history_window([% HTML.escape(project.id) %]);" name="history" id="history" value="<translate>history</translate>">