You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

form.html.twig 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {{ form_start(form) }}
  2. {% import '@LcShop/backend/default/block/macros.html.twig' as macros %}
  3. {% set formValues = form.vars.value %}
  4. <div id="lc-merchant-edit">
  5. <div class="card card-light">
  6. <div class="lc-vue-js-container card-header p-0 border-bottom-0">
  7. <ul class="nav nav-tabs" id="nav-params">
  8. <li class="nav-item" v-for="section in sectionsArray">
  9. <button type="button"
  10. :class="'btn '+((currentSection == section.name) ? 'btn btn-primary' : 'btn ')"
  11. @click="changeSection(section)">
  12. ${ section.nameDisplay }
  13. <span class="glyphicon glyphicon-triangle-bottom"></span>
  14. <i class="fa fa-exclamation-circle invalid-form"></i>
  15. </button>
  16. </li>
  17. </ul>
  18. </div>
  19. </div>
  20. <div class="form ">
  21. <div v-show="currentSection == 'general'" class="panel panel-default">
  22. {% include '@LcShop/backend/merchant/panel_general.html.twig' %}
  23. </div>
  24. <div v-show="currentSection == 'product'" class="panel panel-default">
  25. {% include '@LcShop/backend/merchant/panel_product.html.twig' %}
  26. </div>
  27. <div v-show="currentSection == 'order'" class="panel panel-default">
  28. {% include '@LcShop/backend/merchant/panel_order.html.twig' %}
  29. </div>
  30. <div v-show="currentSection == 'email'" class="panel panel-default">
  31. {% include '@LcShop/backend/merchant/panel_email.html.twig' %}
  32. </div>
  33. <div v-show="currentSection == 'delivery'" class="panel panel-default">
  34. {% include '@LcShop/backend/merchant/panel_delivery.html.twig' %}
  35. </div>
  36. <div v-show="currentSection == 'address'" class="panel panel-default">
  37. {% include '@LcShop/backend/merchant/panel_address.html.twig' %}
  38. </div>
  39. <div v-show="currentSection == 'seo'" class="panel panel-default">
  40. {% include '@LcShop/backend/merchant/panel_seo.html.twig' %}
  41. </div>
  42. <div v-show="currentSection == 'maintenance'" class="panel panel-default">
  43. {% include '@LcShop/backend/merchant/panel_maintenance.html.twig' %}
  44. </div>
  45. <div v-show="currentSection == 'lunch'" class="panel panel-default">
  46. {% include '@LcShop/backend/merchant/panel_lunch.html.twig' %}
  47. </div>
  48. </div>
  49. </div>
  50. {{ form_end(form) }}