|
|
|
<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">{:__('Method')}:</label>
|
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<input id="c-method" data-rule="required" class="form-control" name="row[method]" type="text" value="{$row.method|htmlentities}">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<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" min="0" 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">{:__('Amount')}:</label>
|
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<input id="c-amount" data-rule="required" min="0" class="form-control" step="0.01" name="row[amount]" type="number" value="{$row.amount|htmlentities}">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
|
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<input id="c-create_time" data-rule="required" min="0" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
|
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<input id="c-update_time" data-rule="required" min="0" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
|
|
|
|
</div>
|
|
|
|
</div> -->
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('状态')}:</label>
|
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
{:build_radios('row[status]', ['1'=>__('审核通过'), '0'=>__('待审核'), '2'=>__('驳回')], $row['status'])}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- <div class="form-group">
|
|
|
|
<label class="control-label col-xs-12 col-sm-2">{:__('Picurl')}:</label>
|
|
|
|
<div class="col-xs-12 col-sm-8">
|
|
|
|
<input id="c-picUrl" data-rule="required" class="form-control" name="row[picUrl]" type="text" value="{$row.picUrl|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-primary btn-embossed disabled">{:__('OK')}</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|