init without trunk

This commit is contained in:
Kevin Adametz 2020-07-09 12:49:32 +02:00
parent ed24ac4994
commit bb809e7233
14652 changed files with 177862 additions and 94817 deletions

View file

@ -0,0 +1,808 @@
<?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;
/* default/pages/fewoBooking.html.twig */
class __TwigTemplate_33b95910c629b1b326b031ad78140e3896cbb47076043e3cdb5bfb00a57d3bd0 extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'javascripts' => [$this, 'block_javascripts'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/pages/fewoBooking.html.twig"));
// line 2
$this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->setTheme((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 2, $this->source); })()), [0 => "default/form/theme.html.twig"]);
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "default/pages/fewoBooking.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_stylesheets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 5
echo " <style>.box-slider .slide:not(.active) {display: none;}</style>";
// line 6
echo " <link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("css/my-fewo.css?v"), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['AppBundle\Twig\AppExtension']->getFileLastTime("css/my-fewo.css"), "html", null, true);
echo "\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 9
public function block_javascripts($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 10
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script src=\"";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/fewoBooking-min.js?v"), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['AppBundle\Twig\AppExtension']->getFileLastTime("js/fewoBooking-min.js"), "html", null, true);
echo "\"></script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 14
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 15
echo " <section class=\"clearfix\">
<div class=\"content-copy\">
<h1>Buchungsformular FeWo</h1>
<div class=\"pull-right\">
<a href=\"";
// line 23
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 23, $this->source); })()), "urlPath", [], "any", false, false, false, 23), "html", null, true);
echo "\" class=\"btn btn-primary btn-sm\"><< zurück zu Termine und Preise</a>
</div>
<div class=\"clearfix\"></div>
<h2 style=\"margin-top:10px\">";
// line 28
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 28, $this->source); })()), "name", [], "any", false, false, false, 28), "html", null, true);
echo "</h2>
<div id=\"booking_form\" class=\"booking_form\" style=\"\">
<form class=\"st-booking-form\" method=\"post\" data-toggle=\"validator\">
";
// line 35
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 35, $this->source); })()), 'errors');
echo "
";
// line 36
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 36, $this->source); })()), "email", [], "any", false, false, false, 36), 'errors');
echo "
<input type=\"hidden\" name=\"hidden_toDate\" id=\"hidden_toDate\" value=\"";
// line 38
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["lastSeason"]) || array_key_exists("lastSeason", $context) ? $context["lastSeason"] : (function () { throw new RuntimeError('Variable "lastSeason" does not exist.', 38, $this->source); })()), "toDate", [], "any", false, false, false, 38), "d-m-y"), "html", null, true);
echo "\">
<input type=\"hidden\" name=\"hidden_reservationDays\" id=\"hidden_reservationDays\" value='";
// line 39
echo json_encode((isset($context["reservationDays"]) || array_key_exists("reservationDays", $context) ? $context["reservationDays"] : (function () { throw new RuntimeError('Variable "reservationDays" does not exist.', 39, $this->source); })()));
echo "'>
<input type=\"hidden\" name=\"hidden_customDays\" id=\"hidden_customDays\" value='";
// line 40
echo json_encode((isset($context["classByDays"]) || array_key_exists("classByDays", $context) ? $context["classByDays"] : (function () { throw new RuntimeError('Variable "classByDays" does not exist.', 40, $this->source); })()));
echo "'>
<div id=\"message\"></div>
<div class=\"form-box\">
<div class=\"table-responsive\" id=\"no-more-tables_first\">
<table class=\"table first-table\">
<tbody>
<tr>
<td>Ferienwohnung</td>
<td>
";
// line 52
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["lodging"]) || array_key_exists("lodging", $context) ? $context["lodging"] : (function () { throw new RuntimeError('Variable "lodging" does not exist.', 52, $this->source); })()), "name", [], "any", false, false, false, 52), "html", null, true);
echo "
</td>
</tr>
<!-- <tr>
<td>Saison</td>
<td>
";
// line 58
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["fewo_price"]) || array_key_exists("fewo_price", $context) ? $context["fewo_price"] : (function () { throw new RuntimeError('Variable "fewo_price" does not exist.', 58, $this->source); })()), "season", [], "any", false, false, false, 58), "name", [], "any", false, false, false, 58), "html", null, true);
echo "
</td>
</tr>
-->
<tr>
<td><label class=\"st-required control-label required\">Datum</label></td>
<td>
<div class=\"form-group\" style=\"margin-bottom:0;\">
<div class=\"input-daterange input-group\" id=\"date-range\">
";
// line 67
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 67, $this->source); })()), "fromDate", [], "any", false, false, false, 67), 'widget');
echo "
<span class=\"input-group-addon bg-info b-0 text-white\">bis</span>
";
// line 69
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 69, $this->source); })()), "toDate", [], "any", false, false, false, 69), 'widget');
echo "
</div>
</div>
</td>
</tr>
<!-- <tr>
<td>Mindestbelegung</td>
<td>
";
// line 77
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["fewo_price"]) || array_key_exists("fewo_price", $context) ? $context["fewo_price"] : (function () { throw new RuntimeError('Variable "fewo_price" does not exist.', 77, $this->source); })()), "season", [], "any", false, false, false, 77), "minimumStay", [], "any", false, false, false, 77), "html", null, true);
echo " ";
echo (((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["fewo_price"]) || array_key_exists("fewo_price", $context) ? $context["fewo_price"] : (function () { throw new RuntimeError('Variable "fewo_price" does not exist.', 77, $this->source); })()), "season", [], "any", false, false, false, 77), "minimumStay", [], "any", false, false, false, 77) < 2)) ? ("Nacht") : ("Nächte"));
echo "
</td>
</tr> -->
<tr>
<td>";
// line 81
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 81, $this->source); })()), "travelerCountAdult", [], "any", false, false, false, 81), 'label', ["label" => "Reiseteilnehmer Erwachsene"]);
echo "</td>
<td>
<div style=\"max-width: 180px;\">
";
// line 84
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 84, $this->source); })()), "travelerCountAdult", [], "any", false, false, false, 84), 'widget');
echo "
";
// line 85
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 85, $this->source); })()), "travelerCountAdult", [], "any", false, false, false, 85), 'errors');
echo "
</div>
</td>
</tr>
<tr>
<td>";
// line 90
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 90, $this->source); })()), "travelerCountChild", [], "any", false, false, false, 90), 'label', ["label" => "Reiseteilnehmer Kinder"]);
echo "</td>
<td>
<div style=\"max-width: 180px;\">
";
// line 93
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 93, $this->source); })()), "travelerCountChild", [], "any", false, false, false, 93), 'widget');
echo "
";
// line 94
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 94, $this->source); })()), "travelerCountChild", [], "any", false, false, false, 94), 'errors');
echo "
</div>
</td>
</tr>
<!-- <tr>
<td>";
// line 99
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 99, $this->source); })()), "travelerCount", [], "any", false, false, false, 99), 'label', ["label" => "Reiseteilnehmer"]);
echo "</td>
<td>
<div style=\"max-width: 180px;\">
";
// line 102
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 102, $this->source); })()), "travelerCount", [], "any", false, false, false, 102), 'widget');
echo "
";
// line 103
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 103, $this->source); })()), "travelerCount", [], "any", false, false, false, 103), 'errors');
echo "
</div>
</td>
</tr>-->
</tbody>
</table>
</div>
<div class=\"col-xs-12\">
<div class=\"panel\">
<div class=\"panel-body\">
<h3>Ihr gewähltes Angebot</h3>
<div class=\"st-booking-summary\">
";
// line 116
$this->loadTemplate("default/components/booking/fewoSummary.html.twig", "default/pages/fewoBooking.html.twig", 116)->display(twig_array_merge($context, ["fewo_booking_request" => // line 117
(isset($context["fewo_booking_request"]) || array_key_exists("fewo_booking_request", $context) ? $context["fewo_booking_request"] : (function () { throw new RuntimeError('Variable "fewo_booking_request" does not exist.', 117, $this->source); })()), "fewo_lodging" => // line 118
(isset($context["fewo_lodging"]) || array_key_exists("fewo_lodging", $context) ? $context["fewo_lodging"] : (function () { throw new RuntimeError('Variable "fewo_lodging" does not exist.', 118, $this->source); })()), "fewo_price" => // line 119
(isset($context["fewo_price"]) || array_key_exists("fewo_price", $context) ? $context["fewo_price"] : (function () { throw new RuntimeError('Variable "fewo_price" does not exist.', 119, $this->source); })()), "total_price" => // line 120
(isset($context["total_price"]) || array_key_exists("total_price", $context) ? $context["total_price"] : (function () { throw new RuntimeError('Variable "total_price" does not exist.', 120, $this->source); })()), "total_price_per_night" => // line 121
(isset($context["total_price_per_night"]) || array_key_exists("total_price_per_night", $context) ? $context["total_price_per_night"] : (function () { throw new RuntimeError('Variable "total_price_per_night" does not exist.', 121, $this->source); })())]));
// line 123
echo " </div>
</div>
</div>
</div>
</div>
<div class=\"form-box\">
<div class=\"\">
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<h5>Reiseanmelder</h5>
</div>
<div class=\"form-group col-md-12 col-sm-12 col-xs-12\">
";
// line 136
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(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.', 136, $this->source); })()), "salutation", [], "any", false, false, false, 136), "Anrede", ["label_attr" => ["class" => "sr-only"]]);
echo "
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
";
// line 142
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(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.', 142, $this->source); })()), "firstName", [], "any", false, false, false, 142), "Vorname");
echo "
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
";
// line 151
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(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.', 151, $this->source); })()), "lastName", [], "any", false, false, false, 151), "Nachname");
echo "
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
";
// line 160
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(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.', 160, $this->source); })()), "streetAddress", [], "any", false, false, false, 160), "Straße, Hausnummer");
echo "
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
";
// line 169
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(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.', 169, $this->source); })()), "zipCode", [], "any", false, false, false, 169), "PLZ");
echo "
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
";
// line 178
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(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.', 178, $this->source); })()), "city", [], "any", false, false, false, 178), "Ort");
echo "
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"form-group col-md-12 col-sm-12 col-xs-12\">
";
// line 185
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(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.', 185, $this->source); })()), "nation", [], "any", false, false, false, 185), "Land");
echo "
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
";
// line 191
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(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.', 191, $this->source); })()), "phone", [], "any", false, false, false, 191), "Telefon tagsüber");
echo "
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
";
// line 198
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(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.', 198, $this->source); })()), "mobile", [], "any", false, false, false, 198), "Handynummer (Bitte angeben)");
echo "
</div>
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
";
// line 204
echo $this->extensions['AppBundle\Twig\AppExtension']->formFieldPho(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.', 204, $this->source); })()), "email", [], "any", false, false, false, 204), "E-Mail-Adresse");
echo "
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
</div>
</div><!-- end form-box -->
<div class=\"form-box\">
<div class=\"\">
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<h5>Unverbindliche Anmerkungen</h5>
</div>
<div class=\"col-md-12 col-sm-12 col-xs-12\">
";
// line 219
echo $this->extensions['AppBundle\Twig\AppExtension']->formField(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.', 219, $this->source); })()), "notes", [], "any", false, false, false, 219), "Mitteilungen / Sonstiges (optional)", ["label_attr" => ["class" => "sr-only"], "attr" => ["rows" => "6"]]);
// line 222
echo "
</div>
</div>
</div><!-- end form-box -->
<div class=\"form-box\">
<div class=\"\">
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<h5>Datenschutz</h5>
<div class=\"form-group\">
<div class=\"checkbox\">
";
// line 234
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 234, $this->source); })()), "acceptPrivacy", [], "any", false, false, false, 234), 'widget');
echo "
<label for=\"";
// line 235
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 235, $this->source); })()), "acceptPrivacy", [], "any", false, false, false, 235), "vars", [], "any", false, false, false, 235), "id", [], "any", false, false, false, 235), "html", null, true);
echo "\">
Hiermit willige ich in die im Rahmen der
<a href=\"/datenschutz\" target=\"_blank\">
Datenschutzerklärung
</a> genannte Datenverarbeitung ein.
</label>
<span class=\"checkbox_marker\"></span>
";
// line 242
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 242, $this->source); })()), "acceptPrivacy", [], "any", false, false, false, 242), 'errors');
echo "
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"form-group\">
<div class=\"checkbox\">
";
// line 249
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 249, $this->source); })()), "acceptRentalConditions", [], "any", false, false, false, 249), 'widget');
echo "
<label for=\"";
// line 250
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 250, $this->source); })()), "acceptRentalConditions", [], "any", false, false, false, 250), "vars", [], "any", false, false, false, 250), "id", [], "any", false, false, false, 250), "html", null, true);
echo "\">
Ich bin einverstanden mit den
<a href=\"/pdf/Stern-Tours-Mietbedingungen.pdf\" target=\"_blank\">
Mietbedingungen.
</a>
</label>
<span class=\"checkbox_marker\"></span>
";
// line 257
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->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.', 257, $this->source); })()), "acceptRentalConditions", [], "any", false, false, false, 257), 'errors');
echo "
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<button type=\"submit\" value=\"SEND\" id=\"submit\"
class=\"aligncenter btn btn-primary btn-lg border-radius btn-booking-form\"
>
<span class=\"btn-booking-submit\"><i class=\"fa fa-angle-double-right\" style=\"margin-bottom:-1px!important;\"></i> zahlungspflichtig<br class=\"visible-xs\"> mieten</span>
<span class=\"btn-booking-loading hide\"><i class=\"fa fa-spinner\" style=\"margin-bottom:-1px!important;\"></i> Formular <br class=\"visible-xs\"> wird gesendet</span>
</button>
</div>
</div>
</div><!-- end form-box -->
";
// line 274
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\FormExtension')->renderer->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 274, $this->source); })()), 'rest');
echo "
</div>
</form>
</div><!-- end contact-form -->
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "default/pages/fewoBooking.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 483 => 274, 463 => 257, 453 => 250, 449 => 249, 439 => 242, 429 => 235, 425 => 234, 411 => 222, 409 => 219, 391 => 204, 382 => 198, 372 => 191, 363 => 185, 353 => 178, 341 => 169, 329 => 160, 317 => 151, 305 => 142, 296 => 136, 281 => 123, 279 => 121, 278 => 120, 277 => 119, 276 => 118, 275 => 117, 274 => 116, 258 => 103, 254 => 102, 248 => 99, 240 => 94, 236 => 93, 230 => 90, 222 => 85, 218 => 84, 212 => 81, 203 => 77, 192 => 69, 187 => 67, 175 => 58, 166 => 52, 151 => 40, 147 => 39, 143 => 38, 138 => 36, 134 => 35, 124 => 28, 116 => 23, 106 => 15, 99 => 14, 89 => 11, 84 => 10, 77 => 9, 66 => 6, 64 => 5, 57 => 4, 49 => 1, 47 => 2, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% form_theme form 'default/form/theme.html.twig' %}
{% block stylesheets %}
<style>.box-slider .slide:not(.active) {display: none;}</style>{# TODO Move to custom.css #}
<link rel=\"stylesheet\" href=\"{{ asset('css/my-fewo.css?v') }}{{ get_file_last_time('css/my-fewo.css') }}\">
{% endblock stylesheets %}
{% block javascripts %}
{{ parent() }}
<script src=\"{{ asset('js/fewoBooking-min.js?v') }}{{ get_file_last_time('js/fewoBooking-min.js') }}\"></script>
{% endblock %}
{% block body %}
<section class=\"clearfix\">
<div class=\"content-copy\">
<h1>Buchungsformular FeWo</h1>
<div class=\"pull-right\">
<a href=\"{{ page.urlPath }}\" class=\"btn btn-primary btn-sm\"><< zurück zu Termine und Preise</a>
</div>
<div class=\"clearfix\"></div>
<h2 style=\"margin-top:10px\">{{ lodging.name }}</h2>
<div id=\"booking_form\" class=\"booking_form\" style=\"\">
<form class=\"st-booking-form\" method=\"post\" data-toggle=\"validator\">
{{ form_errors(form) }}
{{ form_errors(form.email) }}
<input type=\"hidden\" name=\"hidden_toDate\" id=\"hidden_toDate\" value=\"{{ lastSeason.toDate|date('d-m-y') }}\">
<input type=\"hidden\" name=\"hidden_reservationDays\" id=\"hidden_reservationDays\" value='{{ reservationDays|json_encode|raw }}'>
<input type=\"hidden\" name=\"hidden_customDays\" id=\"hidden_customDays\" value='{{ classByDays|json_encode|raw }}'>
<div id=\"message\"></div>
<div class=\"form-box\">
<div class=\"table-responsive\" id=\"no-more-tables_first\">
<table class=\"table first-table\">
<tbody>
<tr>
<td>Ferienwohnung</td>
<td>
{{ lodging.name }}
</td>
</tr>
<!-- <tr>
<td>Saison</td>
<td>
{{ fewo_price.season.name }}
</td>
</tr>
-->
<tr>
<td><label class=\"st-required control-label required\">Datum</label></td>
<td>
<div class=\"form-group\" style=\"margin-bottom:0;\">
<div class=\"input-daterange input-group\" id=\"date-range\">
{{ form_widget(form.fromDate) }}
<span class=\"input-group-addon bg-info b-0 text-white\">bis</span>
{{ form_widget(form.toDate) }}
</div>
</div>
</td>
</tr>
<!-- <tr>
<td>Mindestbelegung</td>
<td>
{{ fewo_price.season.minimumStay }} {{ fewo_price.season.minimumStay < 2 ? 'Nacht' : 'Nächte' }}
</td>
</tr> -->
<tr>
<td>{{ form_label(form.travelerCountAdult, 'Reiseteilnehmer Erwachsene') }}</td>
<td>
<div style=\"max-width: 180px;\">
{{ form_widget(form.travelerCountAdult) }}
{{ form_errors(form.travelerCountAdult) }}
</div>
</td>
</tr>
<tr>
<td>{{ form_label(form.travelerCountChild, 'Reiseteilnehmer Kinder') }}</td>
<td>
<div style=\"max-width: 180px;\">
{{ form_widget(form.travelerCountChild) }}
{{ form_errors(form.travelerCountChild) }}
</div>
</td>
</tr>
<!-- <tr>
<td>{{ form_label(form.travelerCount, 'Reiseteilnehmer') }}</td>
<td>
<div style=\"max-width: 180px;\">
{{ form_widget(form.travelerCount) }}
{{ form_errors(form.travelerCount) }}
</div>
</td>
</tr>-->
</tbody>
</table>
</div>
<div class=\"col-xs-12\">
<div class=\"panel\">
<div class=\"panel-body\">
<h3>Ihr gewähltes Angebot</h3>
<div class=\"st-booking-summary\">
{% include 'default/components/booking/fewoSummary.html.twig' with {
'fewo_booking_request' : fewo_booking_request,
'fewo_lodging' : fewo_lodging,
'fewo_price' : fewo_price,
'total_price' : total_price,
'total_price_per_night' : total_price_per_night,
} %}
</div>
</div>
</div>
</div>
</div>
<div class=\"form-box\">
<div class=\"\">
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<h5>Reiseanmelder</h5>
</div>
<div class=\"form-group col-md-12 col-sm-12 col-xs-12\">
{{ form_field_pho(form.salutation, 'Anrede', {'label_attr': {class: 'sr-only'}}) }}
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
{{ form_field_pho(form.firstName, 'Vorname') }}
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
{{ form_field_pho(form.lastName, 'Nachname') }}
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
{{ form_field_pho(form.streetAddress, 'Straße, Hausnummer') }}
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
{{ form_field_pho(form.zipCode, 'PLZ') }}
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
{{ form_field_pho(form.city, 'Ort') }}
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"form-group col-md-12 col-sm-12 col-xs-12\">
{{ form_field_pho(form.nation, 'Land') }}
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
{{ form_field_pho(form.phone, 'Telefon tagsüber') }}
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-6 col-sm-6 col-xs-12\">
{{ form_field_pho(form.mobile, 'Handynummer (Bitte angeben)') }}
</div>
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<div class=\"form-group\">
<div class=\"required\">
{{ form_field_pho(form.email, 'E-Mail-Adresse') }}
</div>
<div class=\"help-block with-errors\"></div>
</div>
</div>
</div>
</div><!-- end form-box -->
<div class=\"form-box\">
<div class=\"\">
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<h5>Unverbindliche Anmerkungen</h5>
</div>
<div class=\"col-md-12 col-sm-12 col-xs-12\">
{{ form_field(form.notes, 'Mitteilungen / Sonstiges (optional)', {
'label_attr': {'class': 'sr-only'},
'attr': {'rows': '6'}
}) }}
</div>
</div>
</div><!-- end form-box -->
<div class=\"form-box\">
<div class=\"\">
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<h5>Datenschutz</h5>
<div class=\"form-group\">
<div class=\"checkbox\">
{{ form_widget(form.acceptPrivacy) }}
<label for=\"{{ form.acceptPrivacy.vars.id }}\">
Hiermit willige ich in die im Rahmen der
<a href=\"/datenschutz\" target=\"_blank\">
Datenschutzerklärung
</a> genannte Datenverarbeitung ein.
</label>
<span class=\"checkbox_marker\"></span>
{{ form_errors(form.acceptPrivacy) }}
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"form-group\">
<div class=\"checkbox\">
{{ form_widget(form.acceptRentalConditions) }}
<label for=\"{{ form.acceptRentalConditions.vars.id }}\">
Ich bin einverstanden mit den
<a href=\"/pdf/Stern-Tours-Mietbedingungen.pdf\" target=\"_blank\">
Mietbedingungen.
</a>
</label>
<span class=\"checkbox_marker\"></span>
{{ form_errors(form.acceptRentalConditions) }}
<div class=\"help-block with-errors\"></div>
</div>
</div>
<div class=\"col-md-12 col-sm-12 col-xs-12\">
<button type=\"submit\" value=\"SEND\" id=\"submit\"
class=\"aligncenter btn btn-primary btn-lg border-radius btn-booking-form\"
>
<span class=\"btn-booking-submit\"><i class=\"fa fa-angle-double-right\" style=\"margin-bottom:-1px!important;\"></i> zahlungspflichtig<br class=\"visible-xs\"> mieten</span>
<span class=\"btn-booking-loading hide\"><i class=\"fa fa-spinner\" style=\"margin-bottom:-1px!important;\"></i> Formular <br class=\"visible-xs\"> wird gesendet</span>
</button>
</div>
</div>
</div><!-- end form-box -->
{{ form_rest(form) }}
</div>
</form>
</div><!-- end contact-form -->
</div>
</section>
{% endblock body %}", "default/pages/fewoBooking.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/pages/fewoBooking.html.twig");
}
}