summaryrefslogtreecommitdiff
path: root/UI/Admin/edit_group.html
blob: 53dd4449528a1c51d2a06e76f6ca68a0ecb61bb9 (plain)
  1. <?lsmb import base.html?>
  2. <?lsmb IF user.username ?>
  3. <center><b>Edit Group</b></center>
  4. <?lsmb ELSE ?>
  5. <center><b>Create Group</b></center>
  6. <?lsmb ENDIF ?>
  7. <form name="submit_user" action="/admin.pl?">
  8. <table>
  9. <tr>
  10. <td>Name:</td>
  11. <td><input type="textarea" name="name" value="<?lsmb user.username?>"/></td>
  12. </tr>
  13. <tr>
  14. <td>Description:</td>
  15. <td><textarea cols="25" rows="4"><? lsmb user.description ?></textarea></td>
  16. </tr>
  17. </table>
  18. <hr/>
  19. <table>
  20. <tr>
  21. <?lsmb FOREACH group IN groups ?>
  22. <?lsmb IF loop.count % 8 == 0?>
  23. </tr>
  24. <tr>
  25. <?lsmb END?>
  26. <td><input type="checkbox" name="<?lsmb loop.index?>" value="1"/><?lsmb group.rolname?></td>
  27. <?lsmb END?>
  28. </tr>
  29. </table>
  30. </form>