Improved presentation of language selector.
[timetracker.git] / WEB-INF / templates / client_edit.tpl
1 {$forms.clientForm.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.client_name} (*):</td>
8           <td>{$forms.clientForm.name.control}</td>
9         </tr>
10         <tr>
11           <td align="right">{$i18n.label.client_address}:</td>
12           <td>{$forms.clientForm.address.control}</td>
13         </tr>
14         <tr>
15           <td align="right">{$i18n.label.tax}, %:</td>
16           <td>{$forms.clientForm.tax.control}&nbsp;(0{$user->decimal_mark}00)</td>
17         </tr>
18         <tr>
19           <td align = "right">{$i18n.label.status}:</td>
20           <td>{$forms.clientForm.status.control}</td>
21         </tr>
22         <tr>
23           <td height="40"></td>
24           <td>{$i18n.label.required_fields}</td>
25         </tr>
26         <tr><td>&nbsp;</td></tr>
27 {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}
28         <tr>
29           <td align="right">{$i18n.label.projects}:</td>
30           <td>{$forms.clientForm.projects.control}</td>
31         </tr>
32 {/if}
33         <tr><td>&nbsp;</td></tr>
34         <tr>
35           <td colspan="2" align="center" height="50">{$forms.clientForm.btn_save.control} {$forms.clientForm.btn_copy.control}</td>
36         </tr>
37       </table>
38     </td>
39   </tr>
40 </table>
41 {$forms.clientForm.close}