12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <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">{:__('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="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Vip_id')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-vip_id" data-rule="required" data-source="vip/index" class="form-control selectpage" name="row[vip_id]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Level')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-level" data-rule="required" class="form-control" name="row[level]" type="text" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Growthvalue')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-growthvalue" data-rule="required" class="form-control" name="row[growthvalue]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Free')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-free" data-rule="required" class="form-control" name="row[free]" type="number" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-price" data-rule="required" class="form-control" name="row[price]" type="text" value="0">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-endtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endtime]" 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">{:__('Vipdiscount')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-vipdiscount" data-rule="required" class="form-control" name="row[vipdiscount]" type="number" value="100">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Birthdiscount')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-birthdiscount" data-rule="required" class="form-control" name="row[birthdiscount]" type="number" value="100">
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-xs-12 col-sm-2">{:__('Manypeople')}:</label>
- <div class="col-xs-12 col-sm-8">
- <input id="c-manypeople" data-rule="required" class="form-control" name="row[manypeople]" type="number" value="0">
- </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>
- <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
- </div>
- </div>
- </form>
|