add.html 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <extend name="Public:base" />
  2. <block name="content">
  3. <div class="page-header">
  4. <h1>
  5. 后台用户
  6. <small>
  7. <i class="icon-double-angle-right"></i>
  8. {$crumbs}
  9. </small>
  10. </h1>
  11. </div>
  12. <div class="row">
  13. <div class="col-xs-12">
  14. <form class="form-horizontal" id="validation-form" method="post" action='{:U("AdminUser/add")}'>
  15. <div class="form-group required">
  16. <label class="col-sm-2 control-label">用户名:</label>
  17. <div class="col-sm-10">
  18. <input class="form-control" type="text" placeholder="用户名" name="a_uname" value="" />
  19. </div>
  20. </div>
  21. <div class="form-group required">
  22. <label class="col-sm-2 control-label">密码:</label>
  23. <div class="col-sm-10">
  24. <input class="form-control" type="text" placeholder="密码" name="a_passwd" value="888888" />
  25. </div>
  26. </div>
  27. <div class="form-group required">
  28. <label class="col-sm-2 control-label">所属角色:</label>
  29. <div class="col-sm-10">
  30. <select name="a_role_id">
  31. <volist name="roles" id="role">
  32. <option value="{$role['id']}">{$role['fullname']}</option>
  33. </volist>
  34. </select>
  35. </div>
  36. </div>
  37. <div class="form-group required">
  38. <label class="col-sm-2 control-label">真实姓名:</label>
  39. <div class="col-sm-10">
  40. <input class="form-control" type="text" placeholder="真实姓名" name="a_true_name" value="" />
  41. </div>
  42. </div>
  43. <div class="form-group required">
  44. <label class="col-sm-2 control-label">手机号码:</label>
  45. <div class="col-sm-10">
  46. <input class="form-control" type="text" placeholder="手机号码" name="a_telephone" value="" />
  47. </div>
  48. </div>
  49. <div class="form-group">
  50. <label class="col-sm-1 control-label no-padding-left"> </label>
  51. <div class="col-sm-11">
  52. <input name="send" type="submit" value="提交" class="btn btn-primary" />
  53. </div>
  54. </div>
  55. </form>
  56. </div>
  57. </div>
  58. </block>