addusergroup.html 1.3 KB

12345678910111213141516171819202122232425
  1. <form action="{:U('user/addusergroup')}" method="post" class="form-horizontal form-validate" enctype="multipart/form-data">
  2. <input type="hidden" name="id" value="{$group['id']}" />
  3. <div class="modal-dialog">
  4. <div class="modal-content">
  5. <div class="modal-header">
  6. <button data-dismiss="modal" class="close" type="button">×</button>
  7. <h4 class="modal-title"><?php if( !empty($group['id'])){ ?>编辑<?php }else{ ?>添加<?php } ?>标签组</h4>
  8. </div>
  9. <div class="modal-body">
  10. <div class="form-group">
  11. <label class="col-sm-2 control-label must">分组名称</label>
  12. <div class="col-sm-9 col-xs-12">
  13. <input type="text" name="groupname" class="form-control" value="{$group['groupname']}" data-rule-required="true" />
  14. </div>
  15. </div>
  16. </div>
  17. <div class="modal-footer">
  18. <button class="btn btn-primary" type="submit">提交</button>
  19. <button data-dismiss="modal" class="btn btn-default" type="button">取消</button>
  20. </div>
  21. </div>
  22. </div>
  23. </form>