forked from SymfonyCasts/symfony-ux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodal-add-container-div.diff
70 lines (58 loc) · 2.13 KB
/
modal-add-container-div.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
diff --git a/templates/product_admin/edit.html.twig b/templates/product_admin/edit.html.twig
index 83b8757..b016247 100644
--- a/templates/product_admin/edit.html.twig
+++ b/templates/product_admin/edit.html.twig
@@ -3,6 +3,7 @@
{% block title %}Edit Product{% endblock %}
{% block body %}
+<div class="container-fluid mt-4">
<h1>Edit Product</h1>
{{ include('product_admin/_form.html.twig', {'button_label': 'Update'}) }}
@@ -10,4 +11,5 @@
<a href="{{ path('product_admin_index') }}">back to list</a>
{{ include('product_admin/_delete_form.html.twig') }}
+</div>
{% endblock %}
diff --git a/templates/product_admin/index.html.twig b/templates/product_admin/index.html.twig
index 87a7a10..edee434 100644
--- a/templates/product_admin/index.html.twig
+++ b/templates/product_admin/index.html.twig
@@ -3,6 +3,7 @@
{% block title %}Product index{% endblock %}
{% block body %}
+<div class="container-fluid mt-4">
<h1>Product index</h1>
<table class="table">
@@ -44,4 +45,5 @@
</table>
<a href="{{ path('product_admin_new') }}">Create new</a>
+</div>
{% endblock %}
diff --git a/templates/product_admin/new.html.twig b/templates/product_admin/new.html.twig
index 1560ef7..4e2de8c 100644
--- a/templates/product_admin/new.html.twig
+++ b/templates/product_admin/new.html.twig
@@ -3,9 +3,11 @@
{% block title %}New Product{% endblock %}
{% block body %}
+<div class="container-fluid mt-4">
<h1>Create new Product</h1>
{{ include('product_admin/_form.html.twig') }}
<a href="{{ path('product_admin_index') }}">back to list</a>
+</div>
{% endblock %}
diff --git a/templates/product_admin/show.html.twig b/templates/product_admin/show.html.twig
index 4bb4073..79dd56f 100644
--- a/templates/product_admin/show.html.twig
+++ b/templates/product_admin/show.html.twig
@@ -3,6 +3,7 @@
{% block title %}Product{% endblock %}
{% block body %}
+<div class="container-fluid mt-4">
<h1>Product</h1>
<table class="table">
@@ -47,4 +48,5 @@
<a href="{{ path('product_admin_edit', {'id': product.id}) }}">edit</a>
{{ include('product_admin/_delete_form.html.twig') }}
+</div>
{% endblock %}