Added conditional display of show approvers.
[timetracker.git] / WEB-INF / templates / task_add.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 {if $show_projects}
15         <tr><td>&nbsp;</td></tr>
16         <tr valign="top">
17           <td align="right">{$i18n.label.projects}:</td>
18           <td>{$forms.taskForm.projects.control}</td>
19         </tr>
20 {/if}
21         <tr>
22           <td></td>
23           <td>{$i18n.label.required_fields}</td>
24         </tr>
25         <tr>
26           <td></td>
27           <td>&nbsp;</td>
28         </tr>
29         <tr>
30           <td colspan="2" align="center" height="50">{$forms.taskForm.btn_submit.control}</td>
31         </tr>
32       </table>
33     </td>
34   </tr>
35 </table>
36 {$forms.taskForm.close}