12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
- <input type="hidden" name="id" value="{$row.id}">
- <!--<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" disabled 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">{:__('Truename')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input class="form-control" id="c-truename" name="row[truename]" type="text" value="{$row.truename|htmlentities}">
- </div>
- </div>
- <!--<div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Alipay_account')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-alipay_account" class="form-control" disabled name="row[alipay_account]" type="text" value="{$row.alipay_account|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 class="form-control" id="c-idcard" 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">{:__('Idcard_images')}:</label>
- <div class="col-xs-12 col-sm-8">
- <ul class="row list-inline faupload-preview" data-listidx="0">
- <?php
- $idcard_images = explode(',',$row['idcard_images']);
- foreach($idcard_images as $key => $val){
- ?>
- <li class="col-xs-3">
- <a href="{$val}" data-url="{$val}" target="_blank" class="thumbnail">
- <img src="{$val}" onerror="this.src='/admin.php/ajax/icon?suffix=jpg';this.onerror=null;" class="img-responsive"></a>
- </li>
- <?php } ?>
- </ul>
- </div>
- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
- <div class="col-xs-12 col-sm-8">
- <div class="radio">
- {foreach name="statusList" item="vo"}
- {if $key != 0}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="status" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
- {/if}
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Audittime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-audittime" class="form-control datetimepicker" disabled data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[audittime]" type="text" value="{:$row.audittime?datetime($row.audittime):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Auditremark')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-auditremark" class="form-control" name="auditremark" type="text" value="{$row.auditremark|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">
- {if $row['status'] != 1}
- <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- {/if}
- </div>
- </div>
- </form>
|