<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* registration/register.html.twig */
class __TwigTemplate_47d309a095646964bcf043649e2b5502 extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
'stylesheets' => [$this, 'block_stylesheets'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "layout/base.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "registration/register.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "registration/register.html.twig"));
$this->parent = $this->load("layout/base.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 2
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Registration";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 4
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_body(array $context, array $blocks = []): iterable
{
$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 5
yield " ";
$context["formLabel"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["flow"]) || array_key_exists("flow", $context) ? $context["flow"] : (function () { throw new RuntimeError('Variable "flow" does not exist.', 5, $this->source); })()), "steps", [], "any", false, false, false, 5), (CoreExtension::getAttribute($this->env, $this->source, (isset($context["flow"]) || array_key_exists("flow", $context) ? $context["flow"] : (function () { throw new RuntimeError('Variable "flow" does not exist.', 5, $this->source); })()), "currentStep", [], "any", false, false, false, 5) - 1), [], "array", false, false, false, 5), "label", [], "any", false, false, false, 5);
// line 6
yield "
<div class=\"row multistep-form\">
<div class=\"col-md-12\">
<h1 class=\"section-title\">Registration</h1>
";
// line 10
yield $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.', 10, $this->source); })()), 'form_start');
yield "
<div class=\"card panel-info\">
<div class=\"card-header\">
<div class=\"fs-5\"><b>";
// line 14
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["formLabel"]) || array_key_exists("formLabel", $context) ? $context["formLabel"] : (function () { throw new RuntimeError('Variable "formLabel" does not exist.', 14, $this->source); })()), "html", null, true);
yield "</b></div>
</div>
<div class=\"card-body\">
";
// line 17
if ((($tmp = !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($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); })()), "vars", [], "any", false, false, false, 17), "errors", [], "any", false, false, false, 17))) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 18
yield " <div class=\"alert alert-danger\">
";
// line 19
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 19, $this->source); })()), 'errors');
yield "
</div>
";
}
// line 22
yield " ";
// line 23
yield " ";
yield from $this->load("registration/steps/userInfo.html.twig", 23)->unwrap()->yield($context);
// line 24
yield " ";
// line 25
yield " ";
yield from $this->load("registration/steps/brandInfo.html.twig", 25)->unwrap()->yield($context);
// line 26
yield " ";
// line 27
yield " ";
yield from $this->load("registration/steps/retailerInfo.html.twig", 27)->unwrap()->yield($context);
// line 28
yield " ";
yield from $this->load("registration/steps/invitationCode.html.twig", 28)->unwrap()->yield($context);
// line 29
yield " ";
// line 30
yield " ";
yield from $this->load("registration/steps/supplierInfo.html.twig", 30)->unwrap()->yield($context);
// line 31
yield " ";
// line 32
yield " ";
yield from $this->load("registration/steps/optIn.html.twig", 32)->unwrap()->yield($context);
// line 33
yield " ";
// line 34
yield " ";
yield from $this->load("registration/steps/w9.html.twig", 34)->unwrap()->yield($context);
// line 35
yield " ";
yield from $this->load("registration/steps/w8.html.twig", 35)->unwrap()->yield($context);
// line 36
yield " ";
// line 37
yield " ";
yield from $this->load("registration/steps/terms.html.twig", 37)->unwrap()->yield($context);
// line 38
yield " ";
// line 39
yield " ";
yield from $this->load("registration/steps/confirmation.html.twig", 39)->unwrap()->yield($context);
// line 40
yield " </div>
<div class=\"card-footer\">
";
// line 42
yield from $this->load("bundles/FormFlowBundle/FormFlow/buttons.html.twig", 42)->unwrap()->yield(CoreExtension::merge($context, ["craue_formflow_button_class_last" => "btn btn-primary default", "craue_formflow_button_class_back" => "btn btn-danger", "craue_formflow_button_class_reset" => "btn btn-info", "craue_formflow_button_class_finish" => "btn btn-primary", "craue_formflow_button_label_reset" => "Reset", "craue_formflow_button_label_finish" => "Register", "craue_formflow_button_label_back" => "Back", "craue_formflow_button_label_next" => "Next"]));
// line 52
yield " </div>
</div>
";
// line 54
yield $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.', 54, $this->source); })()), 'form_end');
yield "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 60
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_stylesheets(array $context, array $blocks = []): iterable
{
$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", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 61
yield " ";
yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
yield "
<style>
\t\t.pointer-events{
\t\t\tpointer-events:none
\t\t}
</style>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "registration/register.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 218 => 61, 205 => 60, 190 => 54, 186 => 52, 184 => 42, 180 => 40, 177 => 39, 175 => 38, 172 => 37, 170 => 36, 167 => 35, 164 => 34, 162 => 33, 159 => 32, 157 => 31, 154 => 30, 152 => 29, 149 => 28, 146 => 27, 144 => 26, 141 => 25, 139 => 24, 136 => 23, 134 => 22, 128 => 19, 125 => 18, 123 => 17, 117 => 14, 110 => 10, 104 => 6, 101 => 5, 88 => 4, 65 => 2, 42 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends 'layout/base.html.twig' %}
{% block title %}Registration{% endblock %}
{% block body %}
{% set formLabel = flow.steps[flow.currentStep-1].label %}
<div class=\"row multistep-form\">
<div class=\"col-md-12\">
<h1 class=\"section-title\">Registration</h1>
{{ form_start(form) }}
<div class=\"card panel-info\">
<div class=\"card-header\">
<div class=\"fs-5\"><b>{{ formLabel }}</b></div>
</div>
<div class=\"card-body\">
{% if form.vars.errors is not empty %}
<div class=\"alert alert-danger\">
{{ form_errors(form) }}
</div>
{% endif %}
{# step 1 #}
{% include('registration/steps/userInfo.html.twig') %}
{# step 2 #}
{% include('registration/steps/brandInfo.html.twig') %}
{# step 3 #}
{% include('registration/steps/retailerInfo.html.twig') %}
{% include('registration/steps/invitationCode.html.twig') %}
{# step 4 #}
{% include('registration/steps/supplierInfo.html.twig') %}
{# step 5 #}
{% include('registration/steps/optIn.html.twig') %}
{# step 6 #}
{% include('registration/steps/w9.html.twig') %}
{% include('registration/steps/w8.html.twig') %}
{# step 7 #}
{% include('registration/steps/terms.html.twig') %}
{# step 8 #}
{% include('registration/steps/confirmation.html.twig') %}
</div>
<div class=\"card-footer\">
{% include 'bundles/FormFlowBundle/FormFlow/buttons.html.twig' with {
craue_formflow_button_class_last: 'btn btn-primary default',
craue_formflow_button_class_back: 'btn btn-danger',
craue_formflow_button_class_reset: 'btn btn-info',
craue_formflow_button_class_finish: 'btn btn-primary',
craue_formflow_button_label_reset: 'Reset',
craue_formflow_button_label_finish: 'Register',
craue_formflow_button_label_back: 'Back',
craue_formflow_button_label_next: 'Next',
} %}
</div>
</div>
{{ form_end(form) }}
</div>
</div>
{% endblock %}
{% block stylesheets %}
{{ parent() }}
<style>
\t\t.pointer-events{
\t\t\tpointer-events:none
\t\t}
</style>
{% endblock %}
", "registration/register.html.twig", "/home/jewelryrewards/staging/templates/registration/register.html.twig");
}
}