Added conditional display of show approvers.
[timetracker.git] / WEB-INF / templates / task_edit.tpl
1 {$forms.taskForm.open}
2 <table cellspacing="4" cellpadding="7" border="0">
3   <tr>
4     <td>
5       <table cellspacing="1" cellpadding="2" border="0">
6         <tr>
7           <td align="right">{$i18n.label.thing_name} (*):</td>
8           <td>{$forms.taskForm.name.control}</td>
9         </tr>
10         <tr>
11           <td align = "right">{$i18n.label.description}:</td>
12           <td>{$forms.taskForm.description.control}</td>
13         </tr>
14         <tr>
15           <td align = "right">{$i18n.label.status}:</td>
16           <td>{$forms.taskForm.status.control}</td>
17         </tr>
18 {if $show_projects}
19         <tr><td>&nbsp;</td></tr>
20         <tr valign="top">
21           <td align="right">{$i18n.label.projects}:</td>
22           <td>{$forms.taskForm.projects.control}</td>
23         </tr>
24 {/if}
25         <tr>
26           <td></td>
27           <td>{$i18n.label.required_fields}</td>
28         </tr>
29         <tr>
30           <td></td>
31           <td>&nbsp;</td>
32         </tr>
33         <tr>
34           <td colspan="2" align="center" height="50">{$forms.taskForm.btn_save.control} {$forms.taskForm.btn_copy.control}</td>
35         </tr>
36       </table>
37     </td>
38   </tr>
39 </table>
40 {$forms.taskForm.close}