add.html 1.1 KB

1234567891011121314151617181920212223
  1. <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input name="row[config_id]" type="hidden" value="{$config_id}">
  3. <div class="form-group">
  4. <label class="control-label col-xs-12 col-sm-2">{:__('Coupon_id')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <input id="c-coupon_id" data-rule="required" data-source="coupons/index" class="form-control selectpage" name="row[coupon_id]" type="text" value="">
  7. </div>
  8. </div>
  9. <div class="form-group">
  10. <label class="control-label col-xs-12 col-sm-2">{:__('Number')}:</label>
  11. <div class="col-xs-12 col-sm-8">
  12. <input id="c-number" class="form-control" name="row[number]" type="number">
  13. </div>
  14. </div>
  15. <div class="form-group layer-footer">
  16. <label class="control-label col-xs-12 col-sm-2"></label>
  17. <div class="col-xs-12 col-sm-8">
  18. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  19. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  20. </div>
  21. </div>
  22. </form>