]> Raphaël G. Git Repositories - blogbundle/commitdiff
Remove contact page
authorRaphaël Gertz <git@rapsys.eu>
Mon, 11 Dec 2023 04:52:58 +0000 (05:52 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 11 Dec 2023 04:53:11 +0000 (05:53 +0100)
Resources/views/page/contact.html.twig [deleted file]

diff --git a/Resources/views/page/contact.html.twig b/Resources/views/page/contact.html.twig
deleted file mode 100644 (file)
index e98ef66..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-{% extends 'RapsysBlogBundle::body.html.twig' %}
-{% block blog_title %}<h1><a href="{{ path('homepage') }}">{% trans %}Dev log{% endtrans %}</a></h1>{% endblock %}
-{% block blog_subtitle %}<h2><a href="{{ path('contact') }}">{% trans %}Contact{% endtrans %}</a></h2>{% endblock %}
-{% block content %}
-       <section id="contact">
-               <header>
-                       <h3><a href="{{ path('contact') }}">{% trans %}Contact{% endtrans %}</a></h3>
-               </header>
-               {% if sent %}
-                       <p>{% trans %}Your message has been sent{% endtrans %}</p>
-               {% else %}
-                       <div>
-                               {{ form_start(form) }}
-                                       {# Render CSRF token etc .#}
-                                       <div>
-                                               {{ form_widget(form.subject) }}
-                                               {{ form_errors(form.subject) }}
-                                       </div>
-                                       <div>
-                                               {{ form_widget(form.name) }}
-                                               {{ form_errors(form.name) }}
-                                       </div>
-                                       <div>
-                                               {{ form_widget(form.email) }}
-                                               {{ form_errors(form.email) }}
-                                       </div>
-                                       <div>
-                                               {{ form_widget(form.message) }}
-                                               {{ form_errors(form.message) }}
-                                       </div>
-
-                                       {{ form_row(form.submit) }}
-
-                                       <div style="display:none">
-                                               {{ form_rest(form) }}
-                                       </div>
-                               {{ form_end(form) }}
-                       </div>
-               {% endif %}
-       </section>
-{% endblock %}