add notices
This commit is contained in:
parent
4a08ebde86
commit
cb57ee0c26
|
@ -37,6 +37,8 @@ class ContactController extends PageController
|
|||
'success',
|
||||
'Votre message a bien été envoyé.'
|
||||
);
|
||||
} else {
|
||||
$this->addFlash('error', 'Le formulaire n\'est pas valide.');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -13,14 +13,14 @@
|
|||
</a>
|
||||
</h2>
|
||||
|
||||
<ul class="md:flex md:gap-3 pl-0">
|
||||
<li class="md:pl-0 mt-0 inline-block">
|
||||
<ul class="pl-0">
|
||||
<li class="mt-0 inline-block">
|
||||
<time datetime="{{ post.publishedAt|date("Y-m-d") }}" title="{{ post.publishedAt|date("r") }}">
|
||||
{{- 'Le ' ~ post.publishedAt|date("d/m/Y à H\\hi") -}}
|
||||
</time>
|
||||
</li>
|
||||
{% for category in post.categories %}
|
||||
<li class="md:pl-0 mt-0 inline-block">
|
||||
<li class="mt-0 inline-block">
|
||||
<a href="{{ safe_path('blog_menu_category', {category: category.id, slug: category.slug, _domain: _domain}) }}">
|
||||
{{- category.title -}}
|
||||
</a>
|
||||
|
@ -28,7 +28,7 @@
|
|||
{% endfor %}
|
||||
|
||||
{% for tag in post.tags %}
|
||||
<li class="md:pl-0 mt-0 inline-block">
|
||||
<li class="mt-0 inline-block">
|
||||
<a href="{{ safe_path('blog_menu_search', {tag: tag.label, _domain: _domain}) }}">
|
||||
{{- '#' ~ tag.label -}}
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue