<%@ page import="org.springframework.util.StringUtils" %>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8" %>
<%@include file="/WEB-INF/ehr/commons/jsp/commonInclude.jsp" %>

<!--######机构管理页面 > 机构信息对话框模板页######-->
<div id="div_info_form" class="m-form-inline" style="padding-top:10px;" data-role-form>

    <div class="m-form-group">
        <label><span class="red">*&nbsp;</span>账号：</label>

        <div class="m-form-control ">
            <div class="l-text">
                <input type="text"  <%=StringUtils.isEmpty(request.getParameter("userId"))? "":"disabled"%>  class="l-text-field required" placeholder="请输入角色名称" name="loginCode"/>
            </div>
        </div>
    </div>
        <div class="m-form-group " <%=!StringUtils.isEmpty(request.getParameter("userId"))? "style=\"display: none\"":""%> >
            <label><span class="red">*&nbsp;</span>密码：</label>

            <div class="m-form-control ">
                <div class="l-text">
                    <input type="password" class="l-text-field required" name="password">
                </div>
            </div>
        </div>
        <div class="m-form-group " <%=!StringUtils.isEmpty(request.getParameter("userId"))? "style=\"display: none\"":""%>  >
            <label><span class="red">*&nbsp;</span>确认密码：</label>

            <div class="m-form-control ">
                <div class="l-text">
                    <input type="password" class="l-text-field required" name="passwordTwo">
                </div>
            </div>
        </div>
    <div class="m-form-group">
        <label>姓名：</label>

        <div class="m-form-control ">
            <div class="l-text">
                <input type="text" class="l-text-field" class="l-text-field" name="userName">
            </div>
        </div>
    </div>
    <div class="m-form-group">
        <label>性别：</label>

        <div class="u-checkbox-wrap m-form-control ">
            <input type="radio" value="1"  name="userSex">男
            <input type="radio" value="2"  name="userSex">女
        </div>
    </div>

    <div class="m-form-group">
        <label>出生日期：</label>

        <div class="m-form-control ">

                <input id="userBirthday" placeholder="输入日期" type="text" class="l-text-field" class="l-text-field" name="userBirthday">

        </div>
    </div>
    <div class="m-form-group">
        <label>电话号码：</label>

        <div class="m-form-control ">
            <div class="l-text">
                <input type="text" class="l-text-field" class="l-text-field" name="userMobile">
            </div>
        </div>
    </div>

    <div class="m-form-group">
        <label>qq：</label>

        <div class="m-form-control ">
            <div class="l-text">
                <input type="text" class="l-text-field" class="l-text-field" name="userQq">
            </div>
        </div>
    </div>
    <div class="m-form-group">
        <label>微信：</label>

        <div class="m-form-control ">
            <div class="l-text">
                <input type="text" class="l-text-field" class="l-text-field" name="userWechat">
            </div>
        </div>
    </div>
    <div class="m-form-group">
        <label>电子邮箱：</label>

        <div class="m-form-control ">
            <div class="l-text">
                <input type="text" class="l-text-field" class="l-text-field" name="userEmail">
            </div>
        </div>
    </div>
    <!-- 隐藏字段 -->
    <div class="m-form-group" style="display: none;">
        <input name="id" hidden="hidden"/>
    </div>
    <div class="m-form-bottom">
        <div id="btnCancel" class="l-button l-button-no">
            <span>关闭</span>
        </div>
        <div id="btnSave" class="l-button">
            <span>保存</span>
        </div>
    </div>
</div>
