add.html 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-title" class="form-control" name="row[title]" type="text">
  6. </div>
  7. </div>
  8. <input name="row[store_id]" type="hidden" value="{$store_id}">
  9. <input name="row[company_id]" type="hidden" value="{$company_id}">
  10. <div class="form-group">
  11. <label class="control-label col-xs-12 col-sm-2">{:__('Get_price')}:</label>
  12. <div class="col-xs-12 col-sm-8">
  13. <input id="c-get_price" class="form-control" name="row[get_price]" type="number">
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label class="control-label col-xs-12 col-sm-2">{:__('Back_price')}:</label>
  18. <div class="col-xs-12 col-sm-8">
  19. <input id="c-back_price" class="form-control" name="row[back_price]" type="number">
  20. </div>
  21. </div>
  22. <div class="form-group layer-footer">
  23. <label class="control-label col-xs-12 col-sm-2"></label>
  24. <div class="col-xs-12 col-sm-8">
  25. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  26. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  27. </div>
  28. </div>
  29. </form>