123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- <form id="add-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">{:__('发放用户')}:</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="">
- </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">
- <input id="c-goods_id" data-rule="required" data-source="books.books/index" data-field="title" class="form-control selectpage" name="row[goods_id]" type="text" value="">
- </div>
- </div>
- <!-- <div class="form-group">-->
- <!-- <label class="control-label col-xs-12 col-sm-2">{:__('Free_start_time')}:</label>-->
- <!-- <div class="col-xs-12 col-sm-8">-->
- <!-- <input id="c-free_start_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[free_start_time]" type="text" value="{:date('Y-m-d H:i:s')}">-->
- <!-- </div>-->
- <!-- </div>-->
- <!-- <div class="form-group">-->
- <!-- <label class="control-label col-xs-12 col-sm-2">{:__('Free_end_time')}:</label>-->
- <!-- <div class="col-xs-12 col-sm-8">-->
- <!-- <input id="c-free_end_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[free_end_time]" type="text" value="{:date('Y-m-d H:i:s')}">-->
- <!-- </div>-->
- <!-- </div>-->
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Effective_time')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-effective_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[effective_time]" type="text" value="{:date('Y-m-d H:i:s')}">
- </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="0"}checked{/in} /> {$vo}</label>-->
- <!-- {/foreach}-->
- <!-- </div>-->
- <!-- </div>-->
- <!-- </div>-->
- <!-- <div class="form-group">-->
- <!-- <label class="control-label col-xs-12 col-sm-2">{:__('Is_expire')}:</label>-->
- <!-- <div class="col-xs-12 col-sm-8">-->
- <!-- <select id="c-is_expire" class="form-control selectpicker" name="row[is_expire]">-->
- <!-- {foreach name="isExpireList" item="vo"}-->
- <!-- <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>-->
- <!-- {/foreach}-->
- <!-- </select>-->
- <!-- </div>-->
- <!-- </div>-->
- <!-- <div class="form-group">-->
- <!-- <label class="control-label col-xs-12 col-sm-2">{:__('Free_day')}:</label>-->
- <!-- <div class="col-xs-12 col-sm-8">-->
- <!-- <input id="c-free_day" class="form-control" name="row[free_day]" type="number">-->
- <!-- </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>
|