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.

43 lines
1.5KB

  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-supplier-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/supplier/panel_general.html.twig' %}
  23. </div>
  24. <div v-show="currentSection == 'address'" class="panel panel-default">
  25. {% include '@LcShop/backend/supplier/panel_address.html.twig' %}
  26. </div>
  27. <div v-show="currentSection == 'seo'" class="panel panel-default">
  28. {% include '@LcShop/backend/supplier/panel_seo.html.twig' %}
  29. </div>
  30. </div>
  31. </div>
  32. {{ form_end(form) }}