Some refactoring and cleanup in ttRegistrator class.
[timetracker.git] / WEB-INF / templates / role_edit.tpl
1 {$forms.roleForm.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.roleForm.name.control}</td>
9         </tr>
10         <tr>
11           <td align = "right">{$i18n.label.description}:</td>
12           <td>{$forms.roleForm.description.control}</td>
13         </tr>
14         <tr>
15           <td align = "right">{$i18n.form.roles.rank}:</td>
16           <td>{$forms.roleForm.rank.control} <a href="https://www.anuko.com/lp/tt_20.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
17         </tr>
18         <tr>
19           <td align = "right">{$i18n.label.status}:</td>
20           <td>{$forms.roleForm.status.control}</td>
21         </tr>
22         <tr>
23           <td></td>
24           <td>{$i18n.label.required_fields}</td>
25         </tr>
26         <tr>
27           <td colspan="2" align="center" height="50">{$forms.roleForm.btn_save.control}</td>
28         </tr>
29         <tr>
30           <td></td>
31           <td>&nbsp;</td>
32         </tr>
33         <tr>
34           <td align = "right">{$i18n.form.roles.assigned}:</td>
35           <td>{$forms.roleForm.assigned_rights.control}</td><td>{$forms.roleForm.btn_delete.control}</td>
36         </tr>
37         <tr>
38           <td align = "right">{$i18n.form.roles.not_assigned}:</td>
39           <td>{$forms.roleForm.available_rights.control}</td><td>{$forms.roleForm.btn_add.control}</td>
40         </tr>
41       </table>
42     </td>
43   </tr>
44 </table>
45 {$forms.roleForm.close}