Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

57 linhas
2.3KB

  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) }}