connexion base et création premier crud
This commit is contained in:
13
templates/_bootstrap.html.twig
Normal file
13
templates/_bootstrap.html.twig
Normal file
@@ -0,0 +1,13 @@
|
||||
{#
|
||||
Shared partial to include Bootstrap. Use with:
|
||||
{{ include('_bootstrap.html.twig', { part: 'css' }) }} in the <head>
|
||||
{{ include('_bootstrap.html.twig', { part: 'js' }) }} before closing </body>
|
||||
#}
|
||||
|
||||
{% if part == 'css' %}
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
||||
{% elseif part == 'js' %}
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user