up templates

This commit is contained in:
Tykayn 2025-02-09 16:39:38 +01:00 committed by tykayn
parent 71bce538af
commit a39b6239b0
71 changed files with 1536 additions and 262 deletions

18
templates/product/new.html.twig Executable file → Normal file
View file

@ -1,19 +1,11 @@
{% extends 'base.html.twig' %}
{% block title %}New Product{% endblock %}
{% block body %}
<h1>Product creation</h1>
<h1>Create new Product</h1>
{{ form_start(form) }}
{{ form_widget(form) }}
<input type="submit" class="btn btn-primary btn-block" value="Créer"/>
{{ form_end(form) }}
{{ include('product/_form.html.twig') }}
<ul>
<li>
<a class="btn btn-primary" href="{{ path('product_index') }}">
<i class="fa fa-arrow-left"></i>
Retour à la liste
</a>
</li>
</ul>
<a href="{{ path('app_product_index') }}">back to list</a>
{% endblock %}