<?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;
/* security/registration.html.twig */
class __TwigTemplate_27cd86aba2a3da251443789f3c4b10cc extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title_suffix' => [$this, 'block_title_suffix'],
'head_scripts' => [$this, 'block_head_scripts'],
'body' => [$this, 'block_body'],
'javascripts' => [$this, 'block_javascripts'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate($this->extensions['App\Twig\MiscExtension']->getBaseTemplateName(twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1)), "security/registration.html.twig", 1);
}
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", "security/registration.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/registration.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
public function block_title_suffix($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", "title_suffix"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title_suffix"));
echo "Registrierung";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 4
public function block_head_scripts($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", "head_scripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "head_scripts"));
// line 5
echo " <script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
public function block_body($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", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 9
echo " ";
$this->loadTemplate("_structure/flash-messages.html.twig", "security/registration.html.twig", 9)->display($context);
// line 10
echo " <div class=\"row\">
<div class=\"col-12 col-md-6\">
<div class=\"bg-light border border-secondary rounded py-3 px-3\">
<h1>Jetzt kostenlos mitmachen!</h1>
<h6>E-Mail eingeben und alles sehen!</h6>
<br>
";
// line 16
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 16, $this->source); })()), 'form_start');
echo "
";
// line 17
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 17, $this->source); })()), "email", [], "any", false, false, false, 17), 'widget', ["attr" => ["class" => "w-100 mb-2"]]);
echo "
<div id=\"registrationFormContent\" style=\"visibility:hidden;\">
";
// line 19
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 19, $this->source); })()), "submit", [], "any", false, false, false, 19), 'widget', ["attr" => ["class" => "w-100 btn btn-secondary btn-block btn-lg mt-2", "disabled" => "disabled"]]);
echo "
</div>
<div class=\"g-recaptcha\" data-sitekey=\"";
// line 21
echo twig_escape_filter($this->env, (isset($context["RECAPTCHA_FORM_KEY"]) || array_key_exists("RECAPTCHA_FORM_KEY", $context) ? $context["RECAPTCHA_FORM_KEY"] : (function () { throw new RuntimeError('Variable "RECAPTCHA_FORM_KEY" does not exist.', 21, $this->source); })()), "html", null, true);
echo "\" data-callback=\"recaptchaCallback\"></div>
";
// line 22
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 22, $this->source); })()), 'form_end');
echo "
</div>
</div>
<div class=\"d-none d-md-block col-md-auto\">
<img class=\"w-75\" src=\"";
// line 26
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/build/images/icons/https-security-256x256.png"), "html", null, true);
echo "\" alt=\"HTTPS Sicherheit\"/>
<dl>
<dd><i class=\"fas fa-check\"></i> Frauen kennenlernen!</dd>
<dd><i class=\"fas fa-check\"></i> Eigenes Profil anlegen!</dd>
<dd><i class=\"fas fa-check\"></i> Über 600.000 Mitglieder!</dd>
<dd><i class=\"fas fa-check\"></i> Handgeprüfte Mitglieder!</dd>
<dd><i class=\"fas fa-check\"></i> Private Videos & Livecams!</dd>
<dd><i class=\"fas fa-check\"></i> Anonym und diskret!</dd>
<dd><i class=\"fas fa-check\"></i> Sichere HTTPS/SSL Verbindung</dd>
</dl>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 41
public function block_javascripts($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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 42
echo " ";
$this->displayParentBlock("javascripts", $context, $blocks);
echo "
<script>
function recaptchaCallback() {
\$(\"#registrationFormContent\").css(\"visibility\", \"visible\");
\$('#registration_form_submit').removeAttr('disabled');
}
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "security/registration.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 179 => 42, 169 => 41, 146 => 26, 139 => 22, 135 => 21, 130 => 19, 125 => 17, 121 => 16, 113 => 10, 110 => 9, 100 => 8, 89 => 5, 79 => 4, 60 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends baseTemplateName(app.request) %}
{% block title_suffix %}Registrierung{% endblock %}
{% block head_scripts %}
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
{% endblock %}
{% block body %}
{% include '_structure/flash-messages.html.twig' %}
<div class=\"row\">
<div class=\"col-12 col-md-6\">
<div class=\"bg-light border border-secondary rounded py-3 px-3\">
<h1>Jetzt kostenlos mitmachen!</h1>
<h6>E-Mail eingeben und alles sehen!</h6>
<br>
{{ form_start(form) }}
{{ form_widget(form.email, {attr: {'class': 'w-100 mb-2'}}) }}
<div id=\"registrationFormContent\" style=\"visibility:hidden;\">
{{ form_widget(form.submit, {attr: {'class': 'w-100 btn btn-secondary btn-block btn-lg mt-2', 'disabled': 'disabled'}}) }}
</div>
<div class=\"g-recaptcha\" data-sitekey=\"{{ RECAPTCHA_FORM_KEY }}\" data-callback=\"recaptchaCallback\"></div>
{{ form_end(form) }}
</div>
</div>
<div class=\"d-none d-md-block col-md-auto\">
<img class=\"w-75\" src=\"{{ asset('/build/images/icons/https-security-256x256.png') }}\" alt=\"HTTPS Sicherheit\"/>
<dl>
<dd><i class=\"fas fa-check\"></i> Frauen kennenlernen!</dd>
<dd><i class=\"fas fa-check\"></i> Eigenes Profil anlegen!</dd>
<dd><i class=\"fas fa-check\"></i> Über 600.000 Mitglieder!</dd>
<dd><i class=\"fas fa-check\"></i> Handgeprüfte Mitglieder!</dd>
<dd><i class=\"fas fa-check\"></i> Private Videos & Livecams!</dd>
<dd><i class=\"fas fa-check\"></i> Anonym und diskret!</dd>
<dd><i class=\"fas fa-check\"></i> Sichere HTTPS/SSL Verbindung</dd>
</dl>
</div>
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>
function recaptchaCallback() {
\$(\"#registrationFormContent\").css(\"visibility\", \"visible\");
\$('#registration_form_submit').removeAttr('disabled');
}
</script>
<script src=\"https://www.google.com/recaptcha/api.js\" async defer></script>
{% endblock %}
", "security/registration.html.twig", "/var/www/frontend-dev/apps/frontend/templates/security/registration.html.twig");
}
}