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.

25 lines
864B

  1. {% extends app.request.query.get('action') == 'edit' ? '@LcShop/backend/default/edit.html.twig' : '@LcShop/backend/default/new.html.twig' %}
  2. {% block entity_form %}
  3. {% if formView is defined and formView == 'default'%}
  4. {% import '@LcShop/backend/default/block/macros.html.twig' as macros %}
  5. {{ macros.startCard(8, 'OrderShop.selectUser') }}
  6. <div class="col-12">
  7. {{ form(form) }}
  8. </div>
  9. {{ macros.endCard() }}
  10. {% else %}
  11. {% include '@LcShop/backend/order/form.html.twig' %}
  12. {% endif %}
  13. {% endblock entity_form %}
  14. {% block body_javascript %}
  15. {{ parent() }}
  16. {% include '@LcShop/backend/default/block/script-vuejs.html.twig' %}
  17. <script src="{{ asset('bundles/lcshop/js/backend/script/order/vuejs-order.js') }}"></script>
  18. {% endblock %}