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" 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">{:__('Task_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-task_id" data-rule="required" data-source="task/index" class="form-control selectpage" name="row[task_id]" type="text" value="{$row.task_id|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Finish_number')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-finish_number" data-rule="required" class="form-control" name="row[finish_number]" type="number" value="{$row.finish_number|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Pace')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-pace" data-rule="required" class="form-control" name="row[pace]" type="number" value="{$row.pace|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Is_finish')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-is_finish" data-rule="required" class="form-control selectpicker" name="row[is_finish]">
- {foreach name="isFinishList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.is_finish"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Is_reward')}:</label>
- <div class="col-xs-12 col-sm-8">
-
- <select id="c-is_reward" data-rule="required" class="form-control selectpicker" name="row[is_reward]">
- {foreach name="isRewardList" item="vo"}
- <option value="{$key}" {in name="key" value="$row.is_reward"}selected{/in}>{$vo}</option>
- {/foreach}
- </select>
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Finish_date')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-finish_date" class="form-control" name="row[finish_date]" type="text" value="{$row.finish_date|htmlentities}">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Finish_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-finish_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[finish_time]" type="text" value="{:$row.finish_time?datetime($row.finish_time):''}">
- </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>
|