beabbe7dd67d43d7791ca4ec681e907a1ddce1cc
[timetracker.git] / WEB-INF / templates / cf_custom_field_edit.tpl
1 {$forms.fieldForm.open}
2 <table cellspacing="4" cellpadding="7" border="0">
3   <tr>
4     <td>
5 {if $user->can('manage_custom_fields')}
6       <table cellspacing="1" cellpadding="2" border="0">
7         <tr>
8           <td align="right">{$i18n.label.thing_name} (*):</td>
9           <td>{$forms.fieldForm.name.control}</td>
10         </tr>
11         <tr>
12           <td align="right">{$i18n.label.type}:</td>
13           <td>{$forms.fieldForm.type.control}</td>
14         </tr>
15         <tr>
16           <td align="right"><label for="required">{$i18n.label.required}:</label></td>
17           <td>{$forms.fieldForm.required.control}</td>
18         </tr>
19         <tr>
20           <td></td>
21           <td>&nbsp;</td>
22         </tr>
23         <tr>
24           <td colspan="2" align="center" height="50">{$forms.fieldForm.btn_save.control}</td>
25         </tr>
26       </table>
27 {/if}
28     </td>
29   </tr>
30 </table>
31 {$forms.fieldForm.close}