Création du controller

This commit is contained in:
Clément Laporte
2024-06-05 10:20:41 +02:00
parent ab95e3d286
commit 1b56f805b2
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{% extends 'base.html.twig' %}
{% block title %}Hello SpeciesController!{% endblock %}
{% block body %}
<style>
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
</style>
<div class="example-wrapper">
<h1>Hello {{ controller_name }}! ✅</h1>
This friendly message is coming from:
<ul>
<li>Your controller at <code>C:/wamp64/www/Symfony/herbarium/src/Controller/SpeciesController.php</code></li>
<li>Your template at <code>C:/wamp64/www/Symfony/herbarium/templates/species/index.html.twig</code></li>
</ul>
</div>
{% endblock %}