12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <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">{:__('User_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-user_id" data-rule="required" disabled data-source="user/user/index" data-field="username" 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">{:__('Gold')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-gold" data-rule="required" class="form-control" step="0.1" name="row[gold]" type="number" value="{$row.gold|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Jewel')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-jewel" data-rule="required" class="form-control" step="0.1" name="row[jewel]" type="number" value="{$row.jewel|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Agentjewel')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-agentjewel" data-rule="required" class="form-control" step="0.01" name="row[agentjewel]" type="number" value="{$row.agentjewel|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Vip_endtime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-vip_endtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[vip_endtime]" type="text" value="{:$row.vip_endtime?datetime($row.vip_endtime):''}">
- </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"}
- <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
- {/foreach}
- </div>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Audio_sec')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-audio_sec" data-rule="required" class="form-control" name="row[audio_sec]" type="number" value="{$row.audio_sec|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Video_sec')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-video_sec" data-rule="required" class="form-control" name="row[video_sec]" type="number" value="{$row.video_sec|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Typing_times')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-typing_times" data-rule="required" class="form-control" name="row[typing_times]" type="number" value="{$row.typing_times|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>
|