<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* contact.html.twig */
class __TwigTemplate_6f88a1b3c481fd3f4cb346c8c8265b11 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "contact.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "contact.html.twig"));
$this->parent = $this->loadTemplate("layout.html.twig", "contact.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 4
echo "
";
// line 5
$this->loadTemplate("includes/breadcrumb.html.twig", "contact.html.twig", 5)->display($context);
// line 6
echo "
<main class=\"main\">
<section class=\"section-intro\">
<div class=\"container-fluid\">
<h1>";
// line 10
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "introTitle", ["placeholder" => "Intro titel ..."]);
echo "</h1>
</div><!--/ .container-fluid -->
</section>
<section class=\"section-content\">
<div class=\"container-fluid\">
<div class=\"container-inner\">
<div class=\"row\">
<div class=\"col-lg-6 col-xl-4 offset-xl-1 mb-5 mb-lg-0\">
<div class=\"contact-info\">
<div class=\"h3\">";
// line 20
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "companyTitle", ["placeholder" => "Bedrijfsnaam ..."]);
echo "</div>
<p>
";
// line 23
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "companyAddress", ["nl2br" => true, "placeholder" => "Adres..."]);
// line 26
echo "
</p>
<table class=\"table table-sm table-borderless table--contact\">
<tr>
<td>BTW:</td>
<td>";
// line 32
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "companyBTW", ["placeholder" => "BTW nummer"]);
echo "</td>
</tr>
<tr>
<td colspan=\"2\">";
// line 36
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "companyDepartment", ["placeholder" => "Afdeling..."]);
echo "</td>
</tr>
";
// line 90
echo " </table>
";
// line 92
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))) {
// line 93
echo " <p>E ";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "email1", ["placeholder" => "Email #1"]);
echo "</p>
";
}
// line 95
echo "
";
// line 96
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))) {
// line 97
echo " <p>E ";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "email2", ["placeholder" => "Email #2"]);
echo "</p>
";
}
// line 99
echo "
<div class=\"my-5\">
";
// line 102
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"]]]]);
// line 111
echo "
</div>
";
// line 115
echo "
";
// line 117
echo "
";
// line 132
echo "
";
// line 134
echo "
";
// line 136
echo " </div><!--/ .contat-innfo-->
</div>
<div class=\"col-lg-6 col-xl-6\">
<div class=\"img-wrapper mb-4\">
";
// line 141
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "image", "galleryImage", ["thumbnail" => "ContactBannerThumbnail", "class" => "img-fluid"]);
// line 144
echo "
</div>
<div class=\"card\">
<div class=\"card-body\">
<div class=\"h3\">";
// line 149
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "formTitle", ["placeholder" => "Contactformulier titel ..."]);
echo "</div>
";
// line 151
$context["config"] = ["form_id" => 1, "form_template" => "bootstrap_4_layout.html.twig", "output_workflow" => "ContactWorkflow"];
// line 156
echo "
";
// line 157
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));
echo "
";
// line 210
echo " </div>
</div>
</div>
</div><!--/ .row -->
</div><!--/ .container-inner -->
</div><!--/ .container-fluid -->
</section>
</main>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "contact.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'layout.html.twig' %}
{% block content %}
{% include 'includes/breadcrumb.html.twig' %}
<main class=\"main\">
<section class=\"section-intro\">
<div class=\"container-fluid\">
<h1>{{ pimcore_input(\"introTitle\", {'placeholder': 'Intro titel ...'}) }}</h1>
</div><!--/ .container-fluid -->
</section>
<section class=\"section-content\">
<div class=\"container-fluid\">
<div class=\"container-inner\">
<div class=\"row\">
<div class=\"col-lg-6 col-xl-4 offset-xl-1 mb-5 mb-lg-0\">
<div class=\"contact-info\">
<div class=\"h3\">{{ pimcore_input(\"companyTitle\", {'placeholder': 'Bedrijfsnaam ...'}) }}</div>
<p>
{{ pimcore_textarea(\"companyAddress\",{
\"nl2br\": true,
\"placeholder\": \"Adres...\"
}) }}
</p>
<table class=\"table table-sm table-borderless table--contact\">
<tr>
<td>BTW:</td>
<td>{{ pimcore_input(\"companyBTW\", {'placeholder': 'BTW nummer'}) }}</td>
</tr>
<tr>
<td colspan=\"2\">{{ pimcore_input(\"companyDepartment\", {'placeholder': 'Afdeling...'}) }}</td>
</tr>
{#
<tr>
<td>KBC:</td>
<td>BE58 7380 0776 5779</td>
</tr>
<tr>
<td>BIC:</td>
<td>KREDBEBB</td>
</tr>
\t\t\t\t\t\t
<tr>
<td>LK:</td>
<td>BE50 1032 2499 6218</td>
</tr>
<tr>
<td>BIC:</td>
<td>NICABEBB</td>
</tr>
\t\t\t\t\t\t
<tr>
<td>ING:</td>
<td>BE39 3800 1705 7119</td>
</tr>
<tr>
<td>BIC:</td>
<td>BBRUBEBB</td>
</tr>
\t\t\t\t\t\t
<tr>
<td>BNP:</td>
<td>BE52 0015 8770 6609</td>
</tr>
<tr>
<td>BIC:</td>
<td>GEBABEBB</td>
</tr>
\t\t\t\t\t\t
<tr>
<td>RABO:</td>
<td>NL47 RABO 0147 8280 82</td>
</tr>
<tr>
<td>BIC:</td>
<td>RABONL2U</td>
</tr>
#}
</table>
{% if editmode or not pimcore_link('email2').isEmpty() %}
<p>E {{ pimcore_link('email1', {'placeholder': 'Email #1'}) }}</p>
{% endif %}
{% if editmode or not pimcore_link('email2').isEmpty() %}
<p>E {{ pimcore_link('email2', {'placeholder': 'Email #2'}) }}</p>
{% endif %}
<div class=\"my-5\">
{{
pimcore_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'} }
]
})
}}
</div>
{# <div class=\"h3\">{{ pimcore_input(\"hoursTitle\", {'placeholder': 'Openingsuren ...'}) }}</div>#}
{# {% set timeBlock = pimcore_block(\"hoursBlock\", {\"manual\": true}).start() %}#}
{# <table class=\"table table-sm table-borderless\">#}
{# {% for b in timeBlock.iterator %}#}
{# {% do timeBlock.blockConstruct() %}#}
{# {% do timeBlock.blockStart() %}#}
{# <tr>#}
{# <td>{{ pimcore_input(\"day\", {'placeholder': 'Dag ...', 'class':'span'}) }}</td>#}
{# <td>{{ pimcore_input(\"morning\", {'placeholder': 'Voormiddag ...'}) }}</td>#}
{# <td>{{ pimcore_input(\"afternoon\", {'placeholder': 'Namiddag ...'}) }}</td>#}
{# </tr>#}
{# {% do timeBlock.blockEnd() %}#}
{# {% do timeBlock.blockDestruct() %}#}
{# {% endfor %}#}
{# </table>#}
{# {% do timeBlock.end() %}#}
{# <p>{{ pimcore_input(\"hoursExtra\", {'placeholder': 'Extra info...'}) }}</p>#}
{# {{ pimcore_link('button', {'class': 'btn btn-outline-secondary', \"placeholder\": \"Knop...\"}) }}#}
</div><!--/ .contat-innfo-->
</div>
<div class=\"col-lg-6 col-xl-6\">
<div class=\"img-wrapper mb-4\">
{{ pimcore_image(\"galleryImage\", {
'thumbnail': 'ContactBannerThumbnail',
'class': 'img-fluid'
}) }}
</div>
<div class=\"card\">
<div class=\"card-body\">
<div class=\"h3\">{{ pimcore_input(\"formTitle\", {'placeholder': 'Contactformulier titel ...'}) }}</div>
{% set config = {
'form_id': 1,
'form_template': 'bootstrap_4_layout.html.twig',
'output_workflow': 'ContactWorkflow'
} %}
{{ form_builder_static(config) }}
{#
<div class=\"row\">
<div class=\"col-lg-6\">
<div class=\"form-group\">
<label for=\"\">Voornaam</label>
<input class=\"form-control\" type=\"text\">
</div>
</div>
<div class=\"col-lg-6\">
<div class=\"form-group\">
<label for=\"\">Naam</label>
<input class=\"form-control\" type=\"text\">
</div>
</div>
<div class=\"col-12\">
<div class=\"form-group\">
<label for=\"\">E-mailadres</label>
<input class=\"form-control\" type=\"email\">
</div>
</div>
<div class=\"col-lg-5\">
<div class=\"form-group\">
<label for=\"\">Bedrijf</label>
<input class=\"form-control\" type=\"email\">
</div>
</div>
<div class=\"col-lg-7\">
<div class=\"form-group\">
<label for=\"\">Telefoon/GSM</label>
<input class=\"form-control\" type=\"email\">
</div>
</div>
<div class=\"col-12\">
<div class=\"form-group\">
<label for=\"\">Uw bericht</label>
<textarea name=\"\" id=\"\" cols=\"30\" rows=\"10\" class=\"form-control\"></textarea>
</div>
</div>
<div class=\"col-12 text-end\">
<a href=\"#\" class=\"btn btn-outline-secondary\">
Verzenden
</a>
</div>
</div><!--/ .row -->
#}
</div>
</div>
</div>
</div><!--/ .row -->
</div><!--/ .container-inner -->
</div><!--/ .container-fluid -->
</section>
</main>
{% endblock %}", "contact.html.twig", "/data/sites/web/devliegerfilipbe/subsites/dev.devliegerfilip.dspdev.be/templates/contact.html.twig");
}
public function checkSecurity()
{
static $tags = array("include" => 5, "if" => 92, "set" => 151);
static $filters = array();
static $functions = array("pimcore_input" => 10, "pimcore_textarea" => 23, "pimcore_link" => 92, "pimcore_wysiwyg" => 103, "pimcore_image" => 141, "form_builder_static" => 157);
try {
$this->sandbox->checkSecurity(
['include', 'if', 'set'],
[],
['pimcore_input', 'pimcore_textarea', 'pimcore_link', 'pimcore_wysiwyg', 'pimcore_image', 'form_builder_static']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}