editrole.html.php 1.3 KB

123456789101112131415161718192021222324252627282930
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <div id='mainContent' class='main-content'>
  3. <div class='main-header'>
  4. <h2><?php echo $lang->approvalflow->role->edit;?></h2>
  5. </div>
  6. <form method='post' class='form-ajax' id='dataform'>
  7. <table align='center' class='table table-form'>
  8. <tr>
  9. <th><?php echo $lang->approvalflow->role->name;?></th>
  10. <td class='required'><?php echo html::input('name', $role->name, "class='form-control'");?></td>
  11. </tr>
  12. <tr>
  13. <th><?php echo $lang->approvalflow->role->code;?></th>
  14. <td><?php echo html::input('code', $role->code, "class='form-control'");?></td>
  15. </tr>
  16. <tr>
  17. <th><?php echo $lang->approvalflow->role->member;?></th>
  18. <td colspan='2'><?php echo html::select('users[]', $users, $role->users, "class='form-control chosen' multiple");?></td>
  19. </tr>
  20. <tr>
  21. <th><?php echo $lang->approvalflow->role->desc;?></th>
  22. <td colspan='2'><?php echo html::textarea('desc', $role->desc, "rows=10 class=form-control");?></td>
  23. </tr>
  24. <tr>
  25. <td colspan='3' class='text-center'><?php echo html::submitButton();?></td>
  26. </tr>
  27. </table>
  28. </form>
  29. </div>
  30. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>