{% extends 'layout/frontEndLayout.html.twig' %}
{% block name %} Bethesda Contact{% endblock %}
{% block body %}
<div class="all-title-box">
<div class="container text-center">
<h1>Contact<!--<span class="m_1">Faire une correspondance a l̀administration de Bethesda</span>--></h1>
</div>
</div>
<div id="contact" class="section wb">
<div class="container">
<div class="section-title text-center">
<h3>Need Help? Sure we are Online!</h3>
<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>
</div><!-- end title -->
<div class="row">
<div class="col-xl-6 col-md-12 col-sm-12">
<div class="contact_form">
<div id="message"></div>
{{ form_start(form ) }}
<div class="row row-fluid mx-auto">
<div class="col-lg-8 col-md-8 col-sm-8">
{{ form_row(form.subject) }}
</div>
</div>
<div class="row row-fluid">
<div class="col-lg-12 col-md-12 col-sm-12">
{{ form_row(form.content) }}
</div>
</div>
{{ form_rest(form) }}
<div class="text-center pd">
{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
<button type="submit" value="SEND" id="submit" class="btn btn-light btn-radius btn-brd grd1 btn-block">Submit</button>
{% else %}
<div class="col-sm-6 alert alert-warning text-center" role="alert">
You must first login.<a class="alert-link btn" href="{{ path('app_login') }}"> Sign In</a>
</div>
{% endif %}
</div>
</div>
</form>
</div>
</div><!-- end col -->
<div class="col-xl-6 col-md-12 col-sm-12">
<div class="map-box">
<div id="custom-places" class="small-map"></div>
</div>
</div>
</div><!-- end row -->
</div><!-- end container -->
</div><!-- end section -->
{% endblock %}