1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <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">{:__('Full_name')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-full_name" class="form-control" name="row[full_name]" type="text" value="{$row.full_name|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">{:__('Id_card')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-id_card" class="form-control" name="row[id_card]" type="text" value="{$row.id_card|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Work_unit')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-work_unit" class="form-control" name="row[work_unit]" type="text" value="{$row.work_unit|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Healthy')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-healthy" class="form-control" name="row[healthy]" type="text" value="{$row.healthy|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" class="form-control" name="row[monthly_income]" type="text" value="{$row.monthly_income|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>
|