{% extends "AppBundle::layout.html.twig" %} {% block javascripts %} {{parent()}} {% javascripts "@AppBundle/Resources/public/components/datatables/media/js/jquery.dataTables.min.js" "@AppBundle/Resources/public/components/datatables-plugins/integration/bootstrap/3/dataTables.bootstrap.min.js" %} {% endjavascripts %} {% endblock %} {% block content_title %}产品库存添加产品{% endblock %} {% block sub_body %}
id | 图片 | 名称 | ASIN | {% if app.request.attributes.get('_route') == 'inventory_index' %}精选 | {% endif %}操作 |
---|---|---|---|---|---|
{{product.id}} | {% if product.path %} {% endif %} | {{product.title|raw}} | {{product.ASIN}} | {% if app.request.attributes.get('_route') == 'inventory_index' %}{% endif %} |
修改
{{ form_start(form, {'action': path('inventory_delete'), 'method': 'DELETE'}) }}
{# |