Files
SRCMS/Application/Admin/View/Member/update.html

49 lines
2.0 KiB
HTML
Raw Normal View History

<include file="Public/header" title="更新用户" />
<div id="page-wrapper">
<form action="{:U('member/update')}" method="post">
<div class="form-group">
<label>用户名</label>
<input class="form-control" type="text" name="username" value="{$model.username}">
</div>
<div class="form-group">
<label>邮箱</label>
<input class="form-control" type="text" name="email" value="{$model.email}">
</div>
<div class="form-group">
<label>新密码</label>
<input class="form-control" type="password" name="password" placeholder="不填写则不更改">
</div>
<div class="form-group">
<label>用户等级</label>
<label class="radio-inline">
<input type="radio" name="type" id="type" value="1" <if condition="$model.type eq 1">checked="checked"</if>>路人
</label>
<label class="radio-inline">
<input type="radio" name="type" id="type" value="2" <if condition="$model.type eq 2">checked="checked"</if>>实习白帽子
</label>
<label class="radio-inline">
<input type="radio" name="type" id="type" value="3" <if condition="$model.type eq 3">checked="checked"</if>>普通白帽子
</label>
<label class="radio-inline">
<input type="radio" name="type" id="type" value="4" <if condition="$model.type eq 4">checked="checked"</if>>核心白帽子
</label>
</div>
<div class="form-group">
<label>用户状态</label>
<label class="radio-inline">
<input type="radio" name="status" id="status" value="0" <if condition="$model.status eq 0">checked="checked"</if>>禁止登陆
</label>
<label class="radio-inline">
<input type="radio" name="status" id="status" value="1" <if condition="$model.status eq 1">checked="checked"</if>>正常
</label>
</div>
<div class="form-group">
<input type="hidden" name="id" value="{$model.id}">
<button class="btn btn-success" type="submit" >更新</button>
</div>
</form>
</div>
<include file="Public/footer" />