var/cache/dev/twig/dc/dc3bfa394f3a488c3c98828045e096ae.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* contact/form.html.twig */
  14. class __TwigTemplate_6f9179066ed0d6b0dc21e48cd5e04dfa extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'name' => [$this'block_name'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "layout/frontEndLayout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""contact/form.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""contact/form.html.twig"));
  39.         $this->parent $this->loadTemplate("layout/frontEndLayout.html.twig""contact/form.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_name($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name"));
  54.         echo " Bethesda Contact";
  55.         
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57.         
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59.     }
  60.     // line 5
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 6
  69.         echo "
  70. \t
  71. \t<div class=\"all-title-box\">
  72. \t\t<div class=\"container text-center\">
  73. \t\t\t<h1>Contact<!--<span class=\"m_1\">Faire une correspondance a lÌ€administration de Bethesda</span>--></h1> 
  74. \t\t</div>
  75. \t</div>
  76. \t
  77.     <div id=\"contact\" class=\"section wb\">
  78.         <div class=\"container\">
  79.             <div class=\"section-title text-center\">
  80.                 <h3>Need Help? Sure we are Online!</h3>
  81.                 <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>
  82.             </div><!-- end title -->
  83.             <div class=\"row\">
  84.                 <div class=\"col-xl-6 col-md-12 col-sm-12\">
  85.                     <div class=\"contact_form\">
  86.                         <div id=\"message\"></div>
  87.                         ";
  88.         // line 25
  89.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'25$this->source); })()), 'form_start');
  90.         echo "
  91.                         
  92.                             <div class=\"row row-fluid mx-auto\">
  93.                                 <div class=\"col-lg-8 col-md-8 col-sm-8\">
  94.                                      ";
  95.         // line 30
  96.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'30$this->source); })()), "subject", [], "any"falsefalsefalse30), 'row');
  97.         echo "
  98.                                 </div>
  99.                             </div>
  100.                              <div class=\"row row-fluid\">
  101.                                 <div class=\"col-lg-12 col-md-12 col-sm-12\">
  102.                                        ";
  103.         // line 35
  104.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'35$this->source); })()), "content", [], "any"falsefalsefalse35), 'row');
  105.         echo "
  106.                                 </div>
  107.                              </div>  
  108.                                ";
  109.         // line 38
  110.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'38$this->source); })()), 'rest');
  111.         echo "
  112.                                 <div class=\"text-center pd\">
  113.                                     ";
  114.         // line 40
  115.         if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("IS_AUTHENTICATED_REMEMBERED")) {
  116.             // line 41
  117.             echo "                                         <button type=\"submit\" value=\"SEND\" id=\"submit\"  class=\"btn btn-light btn-radius btn-brd grd1 btn-block\">Submit</button>
  118.                                     ";
  119.         } else {
  120.             // line 43
  121.             echo "                                       
  122.                                        <div class=\"col-sm-6 alert alert-warning text-center\" role=\"alert\">
  123.                                              You must first login.<a  class=\"alert-link btn\" href=\"";
  124.             // line 45
  125.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
  126.             echo "\"> Sign In</a>
  127.                                         </div>
  128.                                     ";
  129.         }
  130.         // line 49
  131.         echo "                                </div>
  132.                             </div>
  133.                         </form>
  134.                     </div>
  135.                 </div><!-- end col -->
  136. \t\t\t\t<div class=\"col-xl-6 col-md-12 col-sm-12\">
  137. \t\t\t\t\t<div class=\"map-box\">
  138. \t\t\t\t\t\t<div id=\"custom-places\" class=\"small-map\"></div>
  139. \t\t\t\t\t</div>
  140. \t\t\t\t</div>
  141.             </div><!-- end row -->
  142.         </div><!-- end container -->
  143.     </div><!-- end section -->
  144. ";
  145.         
  146.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  147.         
  148.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  149.     }
  150.     /**
  151.      * @codeCoverageIgnore
  152.      */
  153.     public function getTemplateName()
  154.     {
  155.         return "contact/form.html.twig";
  156.     }
  157.     /**
  158.      * @codeCoverageIgnore
  159.      */
  160.     public function isTraitable()
  161.     {
  162.         return false;
  163.     }
  164.     /**
  165.      * @codeCoverageIgnore
  166.      */
  167.     public function getDebugInfo()
  168.     {
  169.         return array (  153 => 49,  146 => 45,  142 => 43,  138 => 41,  136 => 40,  131 => 38,  125 => 35,  117 => 30,  109 => 25,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  170.     }
  171.     public function getSourceContext()
  172.     {
  173.         return new Source("{% extends 'layout/frontEndLayout.html.twig' %}
  174. {% block name %} Bethesda Contact{% endblock %}
  175. {% block body %}
  176. \t
  177. \t<div class=\"all-title-box\">
  178. \t\t<div class=\"container text-center\">
  179. \t\t\t<h1>Contact<!--<span class=\"m_1\">Faire une correspondance a lÌ€administration de Bethesda</span>--></h1> 
  180. \t\t</div>
  181. \t</div>
  182. \t
  183.     <div id=\"contact\" class=\"section wb\">
  184.         <div class=\"container\">
  185.             <div class=\"section-title text-center\">
  186.                 <h3>Need Help? Sure we are Online!</h3>
  187.                 <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>
  188.             </div><!-- end title -->
  189.             <div class=\"row\">
  190.                 <div class=\"col-xl-6 col-md-12 col-sm-12\">
  191.                     <div class=\"contact_form\">
  192.                         <div id=\"message\"></div>
  193.                         {{ form_start(form ) }}
  194.                         
  195.                             <div class=\"row row-fluid mx-auto\">
  196.                                 <div class=\"col-lg-8 col-md-8 col-sm-8\">
  197.                                      {{ form_row(form.subject) }}
  198.                                 </div>
  199.                             </div>
  200.                              <div class=\"row row-fluid\">
  201.                                 <div class=\"col-lg-12 col-md-12 col-sm-12\">
  202.                                        {{ form_row(form.content) }}
  203.                                 </div>
  204.                              </div>  
  205.                                {{ form_rest(form) }}
  206.                                 <div class=\"text-center pd\">
  207.                                     {% if is_granted(\"IS_AUTHENTICATED_REMEMBERED\") %}
  208.                                          <button type=\"submit\" value=\"SEND\" id=\"submit\"  class=\"btn btn-light btn-radius btn-brd grd1 btn-block\">Submit</button>
  209.                                     {% else %}
  210.                                        
  211.                                        <div class=\"col-sm-6 alert alert-warning text-center\" role=\"alert\">
  212.                                              You must first login.<a  class=\"alert-link btn\" href=\"{{ path('app_login') }}\"> Sign In</a>
  213.                                         </div>
  214.                                     {% endif %}
  215.                                 </div>
  216.                             </div>
  217.                         </form>
  218.                     </div>
  219.                 </div><!-- end col -->
  220. \t\t\t\t<div class=\"col-xl-6 col-md-12 col-sm-12\">
  221. \t\t\t\t\t<div class=\"map-box\">
  222. \t\t\t\t\t\t<div id=\"custom-places\" class=\"small-map\"></div>
  223. \t\t\t\t\t</div>
  224. \t\t\t\t</div>
  225.             </div><!-- end row -->
  226.         </div><!-- end container -->
  227.     </div><!-- end section -->
  228. {% endblock %}
  229. ""contact/form.html.twig""/var/www/liveedu/public/preprod/liveedu/templates/contact/form.html.twig");
  230.     }
  231. }