<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('修改身份证')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-sfz-edit" th:object="${tUSfz}">
        <div class="form-group">
            <label class="col-sm-3 control-label">发证机关：</label>
            <div class="col-sm-8">
                <input name="licenceIssue" th:field="*{licenceIssue}" class="form-control" type="text" disabled>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">姓名：</label>
            <div class="col-sm-8">
                <input name="name" th:field="*{name}" class="form-control" type="text" disabled>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">性别：</label>
            <div class="col-sm-8">
                <input name="gender" th:field="*{gender}" class="form-control" type="text" disabled>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">民族：</label>
            <div class="col-sm-8">
                <input name="nationality" th:field="*{nationality}" class="form-control" type="text" disabled>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">出生日期：</label>
            <div class="col-sm-8">
                <input name="birthDate" th:field="*{birthDate}" class="form-control" type="text" disabled>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">公民身份号码：</label>
            <div class="col-sm-8">
                <input name="idcardNo" th:field="*{idcardNo}" class="form-control" type="text" disabled>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">户籍地：</label>
            <div class="col-sm-8">
                <input name="addressPermanent" th:field="*{addressPermanent}" class="form-control" type="text" disabled>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">照片：</label>
            <div class="col-sm-8">
                <input id="photos" class="form-control" type="text" disabled>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">相片：</label>
            <div class="col-sm-8">
                <img id="photograph" src="data:image/jpg;base64,"/>
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    $(document).ready(function () {
        var s = "data:image/jpg;base64,"+[[${photograph}]];
        $("#photograph").attr("src",s);
    });
</script>
</body>
</html>
