<!DOCTYPE html>
<html lang="zh">
<head>
    <@meta/>
	<title>系统用户-编辑</title>
    <#include "admin/common/include_hplus.ftl">
    <#include "admin/common/include_form.ftl">
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h3>个人资料</h3>
                </div>
                <div class="ibox-content">
                    <form class="form-horizontal m-t" action="<@contextPath/>/sys/user/saveInfo" method="post">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">登录名：</label>
                            <div class="col-sm-8">
                                <p class="form-control-static">${entity.username }</p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label"><span class="text-danger">*</span>姓名：</label>
                            <div class="col-sm-8">
                                <input class="form-control input-sm" type="text" required="" aria-required="true" name="realName" value="${entity.realName }">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">手机号码：</label>
                            <div class="col-sm-8">
                                <input class="form-control input-sm" type="text" name="mobileTel" value="${entity.mobileTel }">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">邮箱：</label>
                            <div class="col-sm-8">
                                <input class="form-control input-sm" type="email" name="email" value="${entity.email }">
                            </div>
                        </div>
                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">系统风格：</label>
                            <div class="col-sm-8">
                                <select class="form-control input-sm" name="appStyle">
                                    <option value="style_tab" selected>经典风格</option>
                                    <option value="style_page" <#if entity.appStyle == "style_page">selected</#if>>单页风格</option>
                                </select>
                                <span class="help-block m-b-none">更改后需要重新登录</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button class="btn btn-primary" type="submit">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    $(function(){

        $.form.render();

    });
</script>
</body>
</html>
