<div class="page-content no-padding-bottom">
    <div class="row">
        <div class="col-xs-12">
            {{set name = formId+"_"+formFields['姓名'].fieldId}}
            {{set auth = formFields['姓名'].author}}
            {{set val = formDatas[formFields['姓名'].dataKey]}}
            <div class="form-group {{if auth == 'check'}}has-error{{/if}}">
                <label class="col-xs-12 col-sm-3 control-label">姓名:</label>
                <div class="col-xs-12 col-sm-5 ">
                    {{if auth == 'read'}}
                    <label class="form-control form-read-lable">{{val}}</label>
                    <input type="hidden" name="{{name}}" value=">{{val}}"/>
                    {{else if auth == 'hidden'}}
                    <input type="hidden" name="{{name}}" value="{{val}}"/>
                    {{else}}
                    <input class="form-control" {{if auth=='check'}}required{{/if}} type="text" name="{{name}}"
                           value="{{val}}"/>
                    {{/if}}
                </div>
            </div>
        </div>
        <div class="col-xs-12">
            {{set name = formId+"_"+formFields['年龄'].fieldId}}
            {{set auth = formFields['年龄'].author}}
            {{set val = formDatas[formFields['年龄'].dataKey]}}
            <div class="form-group {{if auth == 'check'}}has-error{{/if}}">
                <label class="col-xs-12 col-sm-3 control-label">年龄:</label>
                <div class="col-xs-12 col-sm-5 ">
                    {{if auth == 'read'}}
                    <label class="form-control form-read-lable">{{val}}</label>
                    <input type="hidden" name="{{name}}" value=">{{val}}"/>
                    {{else if auth == 'hidden'}}
                    <input type="hidden" name="{{name}}" value="{{val}}"/>
                    {{else}}
                    <input class="form-control" {{if auth=='check'}}required{{/if}} type="text" name="{{name}}"
                           value="{{val}}"/>
                    {{/if}}
                </div>
            </div>
        </div>
    </div>
</div>
<input type="hidden" name="FORMID" value="{{formId}}"/>
<input type="hidden" name="{{formId}}_ID" value="{{formDataId}}"/>
<input type="hidden" name="{{formId}}_TABLENAME" value="{{formFields[formId].tableId}}"/>
{{if isNewData == "true"}}
<input type="hidden" name="{{formId}}_DATAID" value=""/>
{{else}}
<input type="hidden" name="{{formId}}_DATAID" value="{{formDataId}}"/>
{{/if}}
