templates/contact/form.html.twig line 1

Open in your IDE?
  1. {% extends 'layout/frontEndLayout.html.twig' %}
  2. {% block name %} Bethesda Contact{% endblock %}
  3. {% block body %}
  4.     
  5.     <div class="all-title-box">
  6.         <div class="container text-center">
  7.             <h1>Contact<!--<span class="m_1">Faire une correspondance a lÌ€administration de Bethesda</span>--></h1> 
  8.         </div>
  9.     </div>
  10.     
  11.     <div id="contact" class="section wb">
  12.         <div class="container">
  13.             <div class="section-title text-center">
  14.                 <h3>Need Help? Sure we are Online!</h3>
  15.                 <p class="lead">Do you have a valid email? If so, don't feel obligated to go to the school site to talk to the administration. <br></p>
  16.             </div><!-- end title -->
  17.             <div class="row">
  18.                 <div class="col-xl-6 col-md-12 col-sm-12">
  19.                     <div class="contact_form">
  20.                         <div id="message"></div>
  21.                         {{ form_start(form ) }}
  22.                         
  23.                             <div class="row row-fluid mx-auto">
  24.                                 <div class="col-lg-8 col-md-8 col-sm-8">
  25.                                      {{ form_row(form.subject) }}
  26.                                 </div>
  27.                             </div>
  28.                              <div class="row row-fluid">
  29.                                 <div class="col-lg-12 col-md-12 col-sm-12">
  30.                                        {{ form_row(form.content) }}
  31.                                 </div>
  32.                              </div>  
  33.                                {{ form_rest(form) }}
  34.                                 <div class="text-center pd">
  35.                                     {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
  36.                                          <button type="submit" value="SEND" id="submit"  class="btn btn-light btn-radius btn-brd grd1 btn-block">Submit</button>
  37.                                     {% else %}
  38.                                        
  39.                                        <div class="col-sm-6 alert alert-warning text-center" role="alert">
  40.                                              You must first login.<a  class="alert-link btn" href="{{ path('app_login') }}"> Sign In</a>
  41.                                         </div>
  42.                                     {% endif %}
  43.                                 </div>
  44.                             </div>
  45.                         </form>
  46.                     </div>
  47.                 </div><!-- end col -->
  48.                 <div class="col-xl-6 col-md-12 col-sm-12">
  49.                     <div class="map-box">
  50.                         <div id="custom-places" class="small-map"></div>
  51.                     </div>
  52.                 </div>
  53.             </div><!-- end row -->
  54.         </div><!-- end container -->
  55.     </div><!-- end section -->
  56. {% endblock %}