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.

пре 4 година
пре 4 година
пре 4 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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>
  46. </div>
  47. {{ form_end(form) }}