12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-realname" data-rule="required" class="form-control" name="row[realname]" type="text" value="{$row.realname|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Gender')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-gender" data-rule="required" class="form-control selectpicker" name="row[gender]">
- {foreach name="genderList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.gender"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Age')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-age" data-rule="required" class="form-control" name="row[age]" type="number" value="{$row.age|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('School_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-school_id" data-rule="required" data-source="school/index" data-field="schoolname" class="form-control selectpage" name="row[school_id]" type="text" value="{$row.school_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Grade_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-grade_id" data-rule="required" data-source="grade/index" class="form-control selectpage" name="row[grade_id]" type="text" value="{$row.grade_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Classes_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-classes_id" data-rule="required" data-source="classes/index" data-field="classname" class="form-control selectpage" name="row[classes_id]" type="text" value="{$row.classes_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Idcard')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-idcard" class="form-control" name="row[idcard]" type="text" value="{$row.idcard|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Stu_mobile')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-stu_mobile" class="form-control" name="row[stu_mobile]" type="text" value="{$row.stu_mobile|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Is_default')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-is_default" data-rule="required" class="form-control selectpicker" name="row[is_default]">
- {foreach name="isDefaultList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.is_default"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
- </div>
- </div>
- <div class="form-group layer-footer">
- <label class="control-label col-xs-12 col-sm-2"></label>
- <div class="col-xs-12 col-sm-8">
- <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|