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 " "; // line 6 echo " 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 " "; $__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 "

Buchungsformular FeWo

"; // 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 "

"; // 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 " 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 "\"> source); })())); echo "'> source); })())); echo "'>
Ferienwohnung "; // 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 "
"; // 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 " bis "; // 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 "
"; // 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 "
"; // 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 "
"; // 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 "
"; // 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 "

Ihr gewähltes Angebot

"; // 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 "
Reiseanmelder
"; // 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 "
"; // 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 "
"; // 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 "
"; // 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 "
"; // 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 "
"; // 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 "
"; // 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 "
"; // 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 "
"; // 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 "
"; // 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 "
Unverbindliche Anmerkungen
"; // 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 "
Datenschutz
"; // 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 " "; // 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 "
"; // 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 " "; // 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 "
"; // 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 "
"; $__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 %} {# TODO Move to custom.css #} {% endblock stylesheets %} {% block javascripts %} {{ parent() }} {% endblock %} {% block body %}

Buchungsformular FeWo

{{ lodging.name }}

{{ form_errors(form) }} {{ form_errors(form.email) }}
Ferienwohnung {{ lodging.name }}
{{ form_widget(form.fromDate) }} bis {{ form_widget(form.toDate) }}
{{ form_label(form.travelerCountAdult, 'Reiseteilnehmer Erwachsene') }}
{{ form_widget(form.travelerCountAdult) }} {{ form_errors(form.travelerCountAdult) }}
{{ form_label(form.travelerCountChild, 'Reiseteilnehmer Kinder') }}
{{ form_widget(form.travelerCountChild) }} {{ form_errors(form.travelerCountChild) }}

Ihr gewähltes Angebot

{% 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, } %}
Reiseanmelder
{{ form_field_pho(form.salutation, 'Anrede', {'label_attr': {class: 'sr-only'}}) }}
{{ form_field_pho(form.firstName, 'Vorname') }}
{{ form_field_pho(form.lastName, 'Nachname') }}
{{ form_field_pho(form.streetAddress, 'Straße, Hausnummer') }}
{{ form_field_pho(form.zipCode, 'PLZ') }}
{{ form_field_pho(form.city, 'Ort') }}
{{ form_field_pho(form.nation, 'Land') }}
{{ form_field_pho(form.phone, 'Telefon tagsüber') }}
{{ form_field_pho(form.mobile, 'Handynummer (Bitte angeben)') }}
{{ form_field_pho(form.email, 'E-Mail-Adresse') }}
Unverbindliche Anmerkungen
{{ form_field(form.notes, 'Mitteilungen / Sonstiges (optional)', { 'label_attr': {'class': 'sr-only'}, 'attr': {'rows': '6'} }) }}
Datenschutz
{{ form_widget(form.acceptPrivacy) }} {{ form_errors(form.acceptPrivacy) }}
{{ form_widget(form.acceptRentalConditions) }} {{ form_errors(form.acceptRentalConditions) }}
{{ form_rest(form) }}
{% endblock body %}", "default/pages/fewoBooking.html.twig", "/Users/kadmin/Websites/sterntours-3/app/Resources/views/default/pages/fewoBooking.html.twig"); } }