Refactored regular expense pages for subgroups.
[timetracker.git] / WEB-INF / templates / project_add.tpl
1 {$forms.projectForm.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.projectForm.project_name.control}</td>
9         </tr>
10         <tr>
11           <td align = "right">{$i18n.label.description}:</td>
12           <td>{$forms.projectForm.description.control}</td>
13         </tr>
14 {if $show_users}
15         <tr><td>&nbsp;</td></tr>
16         <tr>
17           <td align="right">{$i18n.label.users}:</td>
18           <td>{$forms.projectForm.users.control}</td>
19         </tr>
20 {/if}
21 {if $smarty.const.MODE_PROJECTS_AND_TASKS == $user->getTrackingMode() && $show_tasks}
22         <tr><td>&nbsp;</td></tr>
23         <tr>
24           <td align="right">{$i18n.label.tasks}:</td>
25           <td>{$forms.projectForm.tasks.control}</td>
26         </tr>
27 {/if}
28         <tr>
29           <td></td>
30           <td>{$i18n.label.required_fields}</td>
31         </tr>
32         <tr>
33           <td></td>
34           <td>&nbsp;</td>
35         </tr>
36         <tr>
37           <td colspan="2" align="center" height="50">{$forms.projectForm.btn_add.control}</td>
38         </tr>
39       </table>
40     </td>
41   </tr>
42 </table>
43 {$forms.projectForm.close}