<?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;
/* @Public/common/registration/_student_form.html.twig */
class __TwigTemplate_54044bdb81bd8154cfae464c3f42d2d2 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "@Public/common/registration/_student_form.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Public/common/registration/_student_form.html.twig"));
// line 1
$macros["__internal_parse_0"] = $this->macros["__internal_parse_0"] = $this->loadTemplate("@Public/macro/fields.html.twig", "@Public/common/registration/_student_form.html.twig", 1)->unwrap();
// line 2
echo "
";
// line 3
$context["studentForm"] = $this->extensions['FMT\Application\Twig\RegistrationExtension']->getStudentRegistrationForm();
// line 4
echo "
";
// line 5
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["studentForm"]) || array_key_exists("studentForm", $context) ? $context["studentForm"] : (function () { throw new RuntimeError('Variable "studentForm" does not exist.', 5, $this->source); })()), 'form_start', ["action" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl(twig_constant("FMT\\Application\\Controller\\Common\\RegistrationController::ROUTE_STUDENT_REGISTER"))]);
echo "
";
// line 6
echo twig_call_macro($macros["__internal_parse_0"], "macro_form_input", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["studentForm"]) || array_key_exists("studentForm", $context) ? $context["studentForm"] : (function () { throw new RuntimeError('Variable "studentForm" does not exist.', 6, $this->source); })()), "profile", [], "any", false, false, false, 6), "firstName", [], "any", false, false, false, 6)], 6, $context, $this->getSourceContext());
echo "
";
// line 7
echo twig_call_macro($macros["__internal_parse_0"], "macro_form_input", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["studentForm"]) || array_key_exists("studentForm", $context) ? $context["studentForm"] : (function () { throw new RuntimeError('Variable "studentForm" does not exist.', 7, $this->source); })()), "profile", [], "any", false, false, false, 7), "lastName", [], "any", false, false, false, 7)], 7, $context, $this->getSourceContext());
echo "
";
// line 8
echo twig_call_macro($macros["__internal_parse_0"], "macro_form_input", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["studentForm"]) || array_key_exists("studentForm", $context) ? $context["studentForm"] : (function () { throw new RuntimeError('Variable "studentForm" does not exist.', 8, $this->source); })()), "profile", [], "any", false, false, false, 8), "school", [], "any", false, false, false, 8)], 8, $context, $this->getSourceContext());
echo "
";
// line 9
echo twig_call_macro($macros["__internal_parse_0"], "macro_form_input", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["studentForm"]) || array_key_exists("studentForm", $context) ? $context["studentForm"] : (function () { throw new RuntimeError('Variable "studentForm" does not exist.', 9, $this->source); })()), "profile", [], "any", false, false, false, 9), "phone", [], "any", false, false, false, 9)], 9, $context, $this->getSourceContext());
echo "
";
// line 10
echo twig_call_macro($macros["__internal_parse_0"], "macro_form_login_registration_input", [twig_get_attribute($this->env, $this->source, (isset($context["studentForm"]) || array_key_exists("studentForm", $context) ? $context["studentForm"] : (function () { throw new RuntimeError('Variable "studentForm" does not exist.', 10, $this->source); })()), "login", [], "any", false, false, false, 10)], 10, $context, $this->getSourceContext());
echo "
<span style=\"color: gray;font-style: italic;display:none;\">";
// line 11
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fmt.authentication.email_valid"), "html", null, true);
echo "</span>
<div class=\"text-center\">
<button type=\"submit\" class=\"btn btn-primary student-reg-btn-submit\">";
// line 13
echo twig_escape_filter($this->env, twig_upper_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("fmt.form.submit")), "html", null, true);
echo "</button>
</div>
";
// line 15
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["studentForm"]) || array_key_exists("studentForm", $context) ? $context["studentForm"] : (function () { throw new RuntimeError('Variable "studentForm" does not exist.', 15, $this->source); })()), 'form_end');
echo "
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "@Public/common/registration/_student_form.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 87 => 15, 82 => 13, 77 => 11, 73 => 10, 69 => 9, 65 => 8, 61 => 7, 57 => 6, 53 => 5, 50 => 4, 48 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% from '@Public/macro/fields.html.twig' import form_input, form_login_registration_input %}
{% set studentForm = get_student_registration_form() %}
{{ form_start(studentForm, {'action': url(constant('FMT\\\\Application\\\\Controller\\\\Common\\\\RegistrationController::ROUTE_STUDENT_REGISTER'))}) }}
{{ form_input(studentForm.profile.firstName) }}
{{ form_input(studentForm.profile.lastName) }}
{{ form_input(studentForm.profile.school) }}
{{ form_input(studentForm.profile.phone) }}
{{ form_login_registration_input(studentForm.login) }}
<span style=\"color: gray;font-style: italic;display:none;\">{{ 'fmt.authentication.email_valid'|trans }}</span>
<div class=\"text-center\">
<button type=\"submit\" class=\"btn btn-primary student-reg-btn-submit\">{{ 'fmt.form.submit'|trans|upper }}</button>
</div>
{{ form_end(studentForm) }}
", "@Public/common/registration/_student_form.html.twig", "/home/fmt/public_html/templates/common/registration/_student_form.html.twig");
}
}