瀏覽代碼

Ajout bouton ajouter film

François 6 年之前
父節點
當前提交
63dc17643c
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/AppBundle/Resources/views/videotheque/liste.html.twig

+ 3 - 1
src/AppBundle/Resources/views/videotheque/liste.html.twig

@@ -1,7 +1,9 @@
 {% extends "@App/videotheque/base.html.twig" %}
 
 {% block body %}
-<table class="table table-bordered table-hover table-sm">
+	<p><a class="btn btn-primary" role="button" href="{{ path('videotheque_ajouter') }}">Ajouter un film</a></p>
+
+	<table class="table table-bordered table-hover table-sm">
 	<thead class="thead-dark">
 		<tr>
 			<th>Titre du film</th>