123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <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" 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">{:__('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">{:__('Relation')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-relation" class="form-control" name="row[relation]" type="text" value="{$row.relation|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">{:__('Gender')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-gender" data-rule="required" min="0" 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">{:__('Birthday')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-birthday" class="form-control" name="row[birthday]" type="number" value="{$row.birthday|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Marital_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="maritalStatusList" item="vo"}
- <label for="row[marital_status]-{$key}"><input id="row[marital_status]-{$key}" name="row[marital_status]" type="radio" value="{$key}" {in name="key" value="$row.marital_status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Allergies_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="allergiesStatusList" item="vo"}
- <label for="row[allergies_status]-{$key}"><input id="row[allergies_status]-{$key}" name="row[allergies_status]" type="radio" value="{$key}" {in name="key" value="$row.allergies_status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Allergies_text')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-allergies_text" class="form-control" name="row[allergies_text]" type="text" value="{$row.allergies_text|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Familymedical_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="familymedicalStatusList" item="vo"}
- <label for="row[familymedical_status]-{$key}"><input id="row[familymedical_status]-{$key}" name="row[familymedical_status]" type="radio" value="{$key}" {in name="key" value="$row.familymedical_status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Familymedical_text')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-familymedical_text" class="form-control" name="row[familymedical_text]" type="text" value="{$row.familymedical_text|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chronicdisease_status')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <div class="radio">
- {foreach name="chronicdiseaseStatusList" item="vo"}
- <label for="row[chronicdisease_status]-{$key}"><input id="row[chronicdisease_status]-{$key}" name="row[chronicdisease_status]" type="radio" value="{$key}" {in name="key" value="$row.chronicdisease_status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Chronicdisease_text')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-chronicdisease_text" class="form-control" name="row[chronicdisease_text]" type="text" value="{$row.chronicdisease_text|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>
- </div>
- </div>
- </form>
|