var/cache/dev/twig/aa/aaf779b8273a722fd803d842b830b762.php line 50

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.html.twig */
  14. class __TwigTemplate_6f88a1b3c481fd3f4cb346c8c8265b11 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.             'content' => [$this, 'block_content'],
  24.         ];
  25.         $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros = $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "contact.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "contact.html.twig"));
  40.         $this->parent = $this->loadTemplate("layout.html.twig", "contact.html.twig", 1);
  41.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_content($context, array $blocks = [])
  49.     {
  50.         $macros = $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  55.         // line 4
  56.         echo "
  57.     ";
  58.         // line 5
  59.         $this->loadTemplate("includes/breadcrumb.html.twig", "contact.html.twig", 5)->display($context);
  60.         // line 6
  61.         echo "
  62.     <main class=\"main\">
  63.         <section class=\"section-intro\">
  64.             <div class=\"container-fluid\">
  65.                 <h1>";
  66.         // line 10
  67.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "introTitle", ["placeholder" => "Intro titel ..."]);
  68.         echo "</h1>
  69.             </div><!--/ .container-fluid -->
  70.         </section>
  71.         <section class=\"section-content\">
  72.             <div class=\"container-fluid\">
  73.                 <div class=\"container-inner\">
  74.                     <div class=\"row\">
  75.                         <div class=\"col-lg-6 col-xl-4 offset-xl-1 mb-5 mb-lg-0\">
  76.                             <div class=\"contact-info\">
  77.                                 <div class=\"h3\">";
  78.         // line 20
  79.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "companyTitle", ["placeholder" => "Bedrijfsnaam ..."]);
  80.         echo "</div>
  81.                                 <p>
  82.                                     ";
  83.         // line 23
  84.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "companyAddress", ["nl2br" => true, "placeholder" => "Adres..."]);
  85.         // line 26
  86.         echo "
  87.                                 </p>
  88.                                 <table class=\"table table-sm table-borderless table--contact\">
  89.                                     <tr>
  90.                                         <td>BTW:</td>
  91.                                         <td>";
  92.         // line 32
  93.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "companyBTW", ["placeholder" => "BTW nummer"]);
  94.         echo "</td>
  95.                                     </tr>
  96.                                     <tr>
  97.                                         <td colspan=\"2\">";
  98.         // line 36
  99.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "companyDepartment", ["placeholder" => "Afdeling..."]);
  100.         echo "</td>
  101.                                     </tr>
  102.                                     ";
  103.         // line 90
  104.         echo "                                </table>
  105.                                 ";
  106.         // line 92
  107.         if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 92, $this->source); })()) ||  !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "email2"), "isEmpty", [], "method", false, false, true, 92))) {
  108.             // line 93
  109.             echo "                                <p>E ";
  110.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "email1", ["placeholder" => "Email #1"]);
  111.             echo "</p>
  112.                                 ";
  113.         }
  114.         // line 95
  115.         echo "
  116.                                 ";
  117.         // line 96
  118.         if (((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 96, $this->source); })()) ||  !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "email2"), "isEmpty", [], "method", false, false, true, 96))) {
  119.             // line 97
  120.             echo "                                <p>E ";
  121.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "email2", ["placeholder" => "Email #2"]);
  122.             echo "</p>
  123.                                 ";
  124.         }
  125.         // line 99
  126.         echo "
  127.                                 
  128.                                 <div class=\"my-5\">
  129.                                     ";
  130.         // line 102
  131.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "exraContent", ["height" => 300, "placeholder" => "Uw tekst...", "stylesSet" => [["name" => "Knop (primair)", "element" => "a", "attributes" => ["class" => "btn btn-outline-primary"]], ["name" => "Knop (secundair)", "element" => "a", "attributes" => ["class" => "btn btn-outline-secondary"]]]]);
  132.         // line 111
  133.         echo "
  134.                                 </div>
  135. ";
  136.         // line 115
  137.         echo "
  138. ";
  139.         // line 117
  140.         echo "
  141. ";
  142.         // line 132
  143.         echo "
  144. ";
  145.         // line 134
  146.         echo "
  147. ";
  148.         // line 136
  149.         echo "                            </div><!--/ .contat-innfo-->
  150.                         </div>
  151.                         <div class=\"col-lg-6 col-xl-6\">
  152.                             <div class=\"img-wrapper mb-4\">
  153.                             ";
  154.         // line 141
  155.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "galleryImage", ["thumbnail" => "ContactBannerThumbnail", "class" => "img-fluid"]);
  156.         // line 144
  157.         echo "
  158.                             </div>
  159.                             <div class=\"card\">
  160.                                 <div class=\"card-body\">
  161.                                     <div class=\"h3\">";
  162.         // line 149
  163.         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "formTitle", ["placeholder" => "Contactformulier titel ..."]);
  164.         echo "</div>
  165.                                      ";
  166.         // line 151
  167.         $context["config"] = ["form_id" => 1, "form_template" => "bootstrap_4_layout.html.twig", "output_workflow" => "ContactWorkflow"];
  168.         // line 156
  169.         echo "
  170.                                     ";
  171.         // line 157
  172.         echo $this->extensions['FormBuilderBundle\Twig\Extension\StaticFormExtension']->generateForm($this->env, $context, $this->sandbox->ensureToStringAllowed((isset($context["config"]) || array_key_exists("config", $context) ? $context["config"] : (function () { throw new RuntimeError('Variable "config" does not exist.', 157, $this->source); })()), 157, $this->source));
  173.         echo "
  174.                                     ";
  175.         // line 210
  176.         echo "                                </div>
  177.                             </div>
  178.                         </div>
  179.                     </div><!--/ .row -->
  180.                 </div><!--/ .container-inner -->
  181.             </div><!--/ .container-fluid -->
  182.         </section>
  183.     </main>
  184.     
  185. ";
  186.         
  187.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  188.         
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  190.     }
  191.     public function getTemplateName()
  192.     {
  193.         return "contact.html.twig";
  194.     }
  195.     public function isTraitable()
  196.     {
  197.         return false;
  198.     }
  199.     public function getDebugInfo()
  200.     {
  201.         return array (  201 => 210,  196 => 157,  193 => 156,  191 => 151,  186 => 149,  179 => 144,  177 => 141,  170 => 136,  167 => 134,  164 => 132,  161 => 117,  158 => 115,  153 => 111,  151 => 102,  146 => 99,  140 => 97,  138 => 96,  135 => 95,  129 => 93,  127 => 92,  123 => 90,  117 => 36,  110 => 32,  102 => 26,  100 => 23,  94 => 20,  81 => 10,  75 => 6,  73 => 5,  70 => 4,  60 => 3,  37 => 1,);
  202.     }
  203.     public function getSourceContext()
  204.     {
  205.         return new Source("{% extends 'layout.html.twig' %}
  206. {% block content %}
  207.     {% include 'includes/breadcrumb.html.twig' %}
  208.     <main class=\"main\">
  209.         <section class=\"section-intro\">
  210.             <div class=\"container-fluid\">
  211.                 <h1>{{ pimcore_input(\"introTitle\", {'placeholder': 'Intro titel ...'}) }}</h1>
  212.             </div><!--/ .container-fluid -->
  213.         </section>
  214.         <section class=\"section-content\">
  215.             <div class=\"container-fluid\">
  216.                 <div class=\"container-inner\">
  217.                     <div class=\"row\">
  218.                         <div class=\"col-lg-6 col-xl-4 offset-xl-1 mb-5 mb-lg-0\">
  219.                             <div class=\"contact-info\">
  220.                                 <div class=\"h3\">{{ pimcore_input(\"companyTitle\", {'placeholder': 'Bedrijfsnaam ...'}) }}</div>
  221.                                 <p>
  222.                                     {{ pimcore_textarea(\"companyAddress\",{
  223.                                         \"nl2br\": true,
  224.                                         \"placeholder\": \"Adres...\"
  225.                                     }) }}
  226.                                 </p>
  227.                                 <table class=\"table table-sm table-borderless table--contact\">
  228.                                     <tr>
  229.                                         <td>BTW:</td>
  230.                                         <td>{{ pimcore_input(\"companyBTW\", {'placeholder': 'BTW nummer'}) }}</td>
  231.                                     </tr>
  232.                                     <tr>
  233.                                         <td colspan=\"2\">{{ pimcore_input(\"companyDepartment\", {'placeholder': 'Afdeling...'}) }}</td>
  234.                                     </tr>
  235.                                     {#
  236.                                     <tr>
  237.                                         <td>KBC:</td>
  238.                                         <td>BE58 7380 0776 5779</td>
  239.                                     </tr>
  240.                                     <tr>
  241.                                         <td>BIC:</td>
  242.                                         <td>KREDBEBB</td>
  243.                                     </tr>
  244. \t\t\t\t\t\t
  245.                                     <tr>
  246.                                         <td>LK:</td>
  247.                                         <td>BE50 1032 2499 6218</td>
  248.                                     </tr>
  249.                                     <tr>
  250.                                         <td>BIC:</td>
  251.                                         <td>NICABEBB</td>
  252.                                     </tr>
  253. \t\t\t\t\t\t
  254.                                     <tr>
  255.                                         <td>ING:</td>
  256.                                         <td>BE39 3800 1705 7119</td>
  257.                                     </tr>
  258.                                     <tr>
  259.                                         <td>BIC:</td>
  260.                                         <td>BBRUBEBB</td>
  261.                                     </tr>
  262. \t\t\t\t\t\t
  263.                                     <tr>
  264.                                         <td>BNP:</td>
  265.                                         <td>BE52 0015 8770 6609</td>
  266.                                     </tr>
  267.                                     <tr>
  268.                                         <td>BIC:</td>
  269.                                         <td>GEBABEBB</td>
  270.                                     </tr>
  271. \t\t\t\t\t\t
  272.                                     <tr>
  273.                                         <td>RABO:</td>
  274.                                         <td>NL47 RABO 0147 8280 82</td>
  275.                                     </tr>
  276.                                     <tr>
  277.                                         <td>BIC:</td>
  278.                                         <td>RABONL2U</td>
  279.                                     </tr>
  280.                                     #}
  281.                                 </table>
  282.                                 {% if editmode or not pimcore_link('email2').isEmpty() %}
  283.                                 <p>E {{ pimcore_link('email1', {'placeholder': 'Email #1'}) }}</p>
  284.                                 {% endif %}
  285.                                 {% if editmode or not pimcore_link('email2').isEmpty() %}
  286.                                 <p>E {{ pimcore_link('email2', {'placeholder': 'Email #2'}) }}</p>
  287.                                 {% endif %}
  288.                                 
  289.                                 <div class=\"my-5\">
  290.                                     {{  
  291.                                         pimcore_wysiwyg(\"exraContent\", {
  292.                                             \"height\": 300,
  293.                                             \"placeholder\": 'Uw tekst...',
  294.                                             \"stylesSet\": [
  295.                                                 {name: 'Knop (primair)', element: 'a', attributes: {'class': 'btn btn-outline-primary'} },
  296.                                                 {name: 'Knop (secundair)', element: 'a', attributes: {'class': 'btn btn-outline-secondary'} }
  297.                                             ]
  298.                                         }) 
  299.                                     }}
  300.                                 </div>
  301. {#                                <div class=\"h3\">{{ pimcore_input(\"hoursTitle\", {'placeholder': 'Openingsuren ...'}) }}</div>#}
  302. {#                                {% set timeBlock = pimcore_block(\"hoursBlock\", {\"manual\": true}).start() %}#}
  303. {#                                <table class=\"table table-sm table-borderless\">#}
  304. {#                                {% for b in timeBlock.iterator %}#}
  305. {#                                    {% do timeBlock.blockConstruct() %}#}
  306. {#                                        {% do timeBlock.blockStart() %}#}
  307. {#                                        <tr>#}
  308. {#                                            <td>{{ pimcore_input(\"day\", {'placeholder': 'Dag ...', 'class':'span'}) }}</td>#}
  309. {#                                            <td>{{ pimcore_input(\"morning\", {'placeholder': 'Voormiddag ...'}) }}</td>#}
  310. {#                                            <td>{{ pimcore_input(\"afternoon\", {'placeholder': 'Namiddag ...'}) }}</td>#}
  311. {#                                        </tr>#}
  312. {#                                        {% do timeBlock.blockEnd() %}#}
  313. {#                                    {% do timeBlock.blockDestruct() %}#}
  314. {#                                {% endfor %}#}
  315. {#                                </table>#}
  316. {#                                {% do timeBlock.end() %}#}
  317. {#                                <p>{{ pimcore_input(\"hoursExtra\", {'placeholder': 'Extra info...'}) }}</p>#}
  318. {#                                {{ pimcore_link('button', {'class': 'btn btn-outline-secondary', \"placeholder\": \"Knop...\"}) }}#}
  319.                             </div><!--/ .contat-innfo-->
  320.                         </div>
  321.                         <div class=\"col-lg-6 col-xl-6\">
  322.                             <div class=\"img-wrapper mb-4\">
  323.                             {{ pimcore_image(\"galleryImage\", {
  324.                                 'thumbnail': 'ContactBannerThumbnail',
  325.                                 'class': 'img-fluid'
  326.                             }) }}
  327.                             </div>
  328.                             <div class=\"card\">
  329.                                 <div class=\"card-body\">
  330.                                     <div class=\"h3\">{{ pimcore_input(\"formTitle\", {'placeholder': 'Contactformulier titel ...'}) }}</div>
  331.                                      {% set config = {
  332.                                         'form_id': 1,
  333.                                         'form_template': 'bootstrap_4_layout.html.twig',
  334.                                         'output_workflow': 'ContactWorkflow'
  335.                                     } %}
  336.                                     {{ form_builder_static(config) }}
  337.                                     {#
  338.                                     <div class=\"row\">
  339.                                         <div class=\"col-lg-6\">
  340.                                             <div class=\"form-group\">
  341.                                                 <label for=\"\">Voornaam</label>
  342.                                                 <input class=\"form-control\" type=\"text\">
  343.                                             </div>
  344.                                         </div>
  345.                                         <div class=\"col-lg-6\">
  346.                                             <div class=\"form-group\">
  347.                                                 <label for=\"\">Naam</label>
  348.                                                 <input class=\"form-control\" type=\"text\">
  349.                                             </div>
  350.                                         </div>
  351.                                         <div class=\"col-12\">
  352.                                             <div class=\"form-group\">
  353.                                                 <label for=\"\">E-mailadres</label>
  354.                                                 <input class=\"form-control\" type=\"email\">
  355.                                             </div>
  356.                                         </div>
  357.                                         <div class=\"col-lg-5\">
  358.                                             <div class=\"form-group\">
  359.                                                 <label for=\"\">Bedrijf</label>
  360.                                                 <input class=\"form-control\" type=\"email\">
  361.                                             </div>
  362.                                         </div>
  363.                                         <div class=\"col-lg-7\">
  364.                                             <div class=\"form-group\">
  365.                                                 <label for=\"\">Telefoon/GSM</label>
  366.                                                 <input class=\"form-control\" type=\"email\">
  367.                                             </div>
  368.                                         </div>
  369.                                         <div class=\"col-12\">
  370.                                             <div class=\"form-group\">
  371.                                                 <label for=\"\">Uw bericht</label>
  372.                                                 <textarea name=\"\" id=\"\" cols=\"30\" rows=\"10\" class=\"form-control\"></textarea>
  373.                                             </div>
  374.                                         </div>
  375.                                         <div class=\"col-12 text-end\">
  376.                                             <a href=\"#\" class=\"btn btn-outline-secondary\">
  377.                                                 Verzenden
  378.                                             </a>
  379.                                         </div>
  380.                                     </div><!--/ .row -->
  381.                                     #}
  382.                                 </div>
  383.                             </div>
  384.                         </div>
  385.                     </div><!--/ .row -->
  386.                 </div><!--/ .container-inner -->
  387.             </div><!--/ .container-fluid -->
  388.         </section>
  389.     </main>
  390.     
  391. {% endblock %}", "contact.html.twig", "/data/sites/web/devliegerfilipbe/subsites/dev.devliegerfilip.dspdev.be/templates/contact.html.twig");
  392.     }
  393.     
  394.     public function checkSecurity()
  395.     {
  396.         static $tags = array("include" => 5, "if" => 92, "set" => 151);
  397.         static $filters = array();
  398.         static $functions = array("pimcore_input" => 10, "pimcore_textarea" => 23, "pimcore_link" => 92, "pimcore_wysiwyg" => 103, "pimcore_image" => 141, "form_builder_static" => 157);
  399.         try {
  400.             $this->sandbox->checkSecurity(
  401.                 ['include', 'if', 'set'],
  402.                 [],
  403.                 ['pimcore_input', 'pimcore_textarea', 'pimcore_link', 'pimcore_wysiwyg', 'pimcore_image', 'form_builder_static']
  404.             );
  405.         } catch (SecurityError $e) {
  406.             $e->setSourceContext($this->source);
  407.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  408.                 $e->setTemplateLine($tags[$e->getTagName()]);
  409.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  410.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  411.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  412.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  413.             }
  414.             throw $e;
  415.         }
  416.     }
  417. }