123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <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">{:__('Uid')}:</label>
- <div class="col-xs-12 col-sm-8">
- {:build_select('row[uid]', $userlist, $row.uid, ['class'=>'form-control selectpicker ', 'required'=>'', 'data-live-search'=>"true"])}
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Addtime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-addtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[addtime]" type="text" value="{:$row.addtime?datetime($row.addtime):''}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('R_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- {:build_select('row[r_id]', $level, $row.r_id, ['class'=>'form-control selectpicker ', 'required'=>'', 'data-live-search'=>"true"])}
- </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" class="form-control" name="row[amount]" type="text" value="{$row.amount|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Transfer')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-transfer" class="form-control" name="row[transfer]" type="text" value="{$row.transfer|htmlentities}">
- </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">
- {foreach name="statusList" item="vo"}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {if $key==$row.status } checked {/if} /> {$vo}</label>
- {/foreach}
- </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>
|