123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- {eq name="admin.cid" value="0"}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Cid')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-cid" data-rule="required" data-source="Company" data-field="company_name" class="form-control selectpage" name="row[cid]" type="text" value="{$row.cid}">
- </div>
- </div>
- {else/}
- <input id="c-cid" name="row[cid]" type="hidden" value="{$admin.cid}">
- {/eq}
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Help_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-help_id" data-rule="required" data-source="help/help" data-field="title" class="form-control selectpage" name="row[help_id]" type="text" value="{$row.help_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Sex')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-sex" data-rule="required" class="form-control selectpicker" name="row[sex]">
- {foreach name="sexList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.sex"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Politics')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-politics" data-rule="required" class="form-control selectpicker" name="row[politics]">
- {foreach name="politicsList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.politics"}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" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[birthday]" type="text" value="{$row.birthday}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-address" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Company')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-company" data-rule="required" class="form-control" name="row[company]" type="text" value="{$row.company|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Unit_nature')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-unit_nature" data-rule="required" class="form-control" name="row[unit_nature]" type="text" value="{$row.unit_nature|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Monthly_income')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-monthly_income" data-rule="required" class="form-control" step="0.01" name="row[monthly_income]" type="number" value="{$row.monthly_income|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Annual_household_income')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-annual_household_income" data-rule="required" class="form-control" step="0.01" name="row[annual_household_income]" type="number" value="{$row.annual_household_income|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Annual_household_income_average')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-annual_household_income_average" data-rule="required" class="form-control" step="0.01" name="row[annual_household_income_average]" type="number" value="{$row.annual_household_income_average|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Identity')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-identity" data-rule="required" class="form-control" name="row[identity]" type="text" value="{$row.identity|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Marriage')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-marriage" data-rule="required" class="form-control selectpicker" name="row[marriage]">
- {foreach name="marriageList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.marriage"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Medical_insurance')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-medical_insurance" data-rule="required" class="form-control selectpicker" name="row[medical_insurance]">
- {foreach name="medicalInsuranceList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.medical_insurance"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Object_features')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-object_features" data-rule="required" class="form-control" name="row[object_features]" type="text" value="{$row.object_features|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Reason')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-reason" data-rule="required" class="form-control" name="row[reason]" type="text" value="{$row.reason|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-success btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|