add.html 1.2 KB

12345678910111213141516171819202122
  1. <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input name="row[package_id]" type="hidden" value="{$package_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" data-rule="required" class="form-control" name="row[number]" type="number" value="0">
  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>