<?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;
/* backend/abstract_inscription/new.html.twig */
class __TwigTemplate_27e219e6c43dea8bbc81a136c5cf8784906e8d93871b36b2e848029b2e8b6417 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "frontend/frontindex/add.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "backend/abstract_inscription/new.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "backend/abstract_inscription/new.html.twig"));
$this->parent = $this->loadTemplate("frontend/frontindex/add.html.twig", "backend/abstract_inscription/new.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 2
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Inscription aus abstracts";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 7
echo "<section class=\"apppoinment-page-area\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12\">
<h1 class=\"text-center\">";
// line 11
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, 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.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "locale", [], "any", false, false, false, 11), "fr"))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["congres"]) || array_key_exists("congres", $context) ? $context["congres"] : (function () { throw new RuntimeError('Variable "congres" does not exist.', 11, $this->source); })()), "label", [], "any", false, false, false, 11), "html", null, true);
} elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, 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.', 11, $this->source); })()), "request", [], "any", false, false, false, 11), "locale", [], "any", false, false, false, 11), "en"))) {
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["congres"]) || array_key_exists("congres", $context) ? $context["congres"] : (function () { throw new RuntimeError('Variable "congres" does not exist.', 11, $this->source); })()), "labelEn", [], "any", false, false, false, 11), "html", null, true);
}
echo "</h1>
<h3 class=\"text-center\">";
// line 12
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Inscrivezvousauxabstracts%"), "html", null, true);
echo "</h3>
<div class=\"blog-s-title\">
<div class=\"blog-single-meta\">
<span><i class=\"far fa-calendar-alt\"></i>
";
// line 16
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["congres"]) || array_key_exists("congres", $context) ? $context["congres"] : (function () { throw new RuntimeError('Variable "congres" does not exist.', 16, $this->source); })()), "dateDebut", [], "any", false, false, false, 16), "d/m/y"), "html", null, true);
echo "
-
";
// line 18
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["congres"]) || array_key_exists("congres", $context) ? $context["congres"] : (function () { throw new RuntimeError('Variable "congres" does not exist.', 18, $this->source); })()), "dateFin", [], "any", false, false, false, 18), "d/m/y"), "html", null, true);
echo "</span>
<span>
<i class=\"fa fa-location-dot\"></i>
";
// line 21
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["congres"]) || array_key_exists("congres", $context) ? $context["congres"] : (function () { throw new RuntimeError('Variable "congres" does not exist.', 21, $this->source); })()), "lieu", [], "any", false, false, false, 21), "html", null, true);
echo "</span>
</div>
</div>
<form id=\"front_abstract_congress\" method=\"post\" action=\"";
// line 24
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_abstract_congress_new", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["congres"]) || array_key_exists("congres", $context) ? $context["congres"] : (function () { throw new RuntimeError('Variable "congres" does not exist.', 24, $this->source); })()), "id", [], "any", false, false, false, 24)]), "html", null, true);
echo "\" enctype=\"multipart/form-data\">
<div class=\"form-row mt-3\">
<div class=\"col-md-6\">
<label for=\"nom\" class=\"text-muted\">";
// line 28
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%nom%")), "html", null, true);
echo " (*)</label>
<input name=\"nom\" class=\"form-control\" required/>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
<label for=\"prenom\" class=\"text-muted\">";
// line 33
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%prenom%")), "html", null, true);
echo " (*)</label>
<input type=\"text\" name=\"prenom\" class=\"form-control\" required/>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
<label for=\"email\" class=\"text-muted\">";
// line 39
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%E-mail%")), "html", null, true);
echo " (*)</label>
<input type=\"email\" name=\"email\" class=\"form-control\" required/>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
<label for=\"password\" class=\"text-muted\">";
// line 45
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Password%")), "html", null, true);
echo " (*)</label>
<input type=\"password\" name=\"plainPassword\" class=\"form-control\" minlength=\"6\" required/>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
<label for=\"civilite\" class=\"text-muted\">";
// line 51
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%civilite%")), "html", null, true);
echo " (*)</label>
<select name=\"civilite\" id=\"civilite-select\">
<option value=\"Madame\">";
// line 53
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Madame%"), "html", null, true);
echo "</option>
<option value=\"Mademoiselle\">";
// line 54
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Mademoiselle%"), "html", null, true);
echo "</option>
<option value=\"Monsieur\">";
// line 55
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Monsieur%"), "html", null, true);
echo "</option>
</select>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
";
// line 61
echo twig_include($this->env, $context, "registration/_specialite.html.twig");
echo "
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
<label for=\"addresse\" class=\"text-muted\">";
// line 66
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Address%")), "html", null, true);
echo " (*)</label>
<input type=\"text\" name=\"addresse\" class=\"form-control\" required/>
</div>
</div>
<div class=\"col-md-6\">
<label for=\"pays\" class=\"text-muted\">";
// line 72
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%pays%")), "html", null, true);
echo " (*)</label>
<select type=\"text\" name=\"pays\" class=\"form-control\">
";
// line 74
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pays"]) || array_key_exists("pays", $context) ? $context["pays"] : (function () { throw new RuntimeError('Variable "pays" does not exist.', 74, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["pay"]) {
// line 75
echo " <option value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["pay"], "id", [], "any", false, false, false, 75), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["pay"], "labelFr", [], "any", false, false, false, 75), "html", null, true);
echo "</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['pay'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 77
echo " </select>
</div>
<div class=\"col-md-6\">
<label for=\"titre\" class=\"text-muted\">";
// line 80
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%titre%")), "html", null, true);
echo " (*)</label>
<select name=\"titre\" id=\"titre-select\">
<option value=\"Résident\">";
// line 82
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Résident%"), "html", null, true);
echo "</option>
<option value=\"Spécialiste médical\">";
// line 83
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Spécialistemédical%"), "html", null, true);
echo "</option>
<option value=\"Assistant\">";
// line 84
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Assistant%"), "html", null, true);
echo "</option>
<option value=\"Professeur agrégé\">";
// line 85
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Professeuragrégé%"), "html", null, true);
echo "</option>
<option value=\"Professeur\">";
// line 86
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%Professeur%"), "html", null, true);
echo "</option>
</select>
</div>
<div class=\"col-md-6\">
<label for=\"sousSpecialite\" class=\"text-muted\">";
// line 90
echo twig_escape_filter($this->env, twig_capitalize_string_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("%sousSpecialite%")), "html", null, true);
echo "</label>
<input type=\"text\" name=\"sousSpecialite\" class=\"form-control\"/>
</div>
<div class=\"col-md-6 offset-md-3 mt-3\">
<div class=\"form-group col-md-6 offset-md-3\">
<button class=\"theme-btn btn-block\">";
// line 95
echo twig_escape_filter($this->env, (((isset($context["button_label"]) || array_key_exists("button_label", $context))) ? (_twig_default_filter((isset($context["button_label"]) || array_key_exists("button_label", $context) ? $context["button_label"] : (function () { throw new RuntimeError('Variable "button_label" does not exist.', 95, $this->source); })()), "Valider")) : ("Valider")), "html", null, true);
echo "</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "backend/abstract_inscription/new.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 268 => 95, 260 => 90, 253 => 86, 249 => 85, 245 => 84, 241 => 83, 237 => 82, 232 => 80, 227 => 77, 216 => 75, 212 => 74, 207 => 72, 198 => 66, 190 => 61, 181 => 55, 177 => 54, 173 => 53, 168 => 51, 159 => 45, 150 => 39, 141 => 33, 133 => 28, 126 => 24, 120 => 21, 114 => 18, 109 => 16, 102 => 12, 94 => 11, 88 => 7, 78 => 6, 59 => 2, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'frontend/frontindex/add.html.twig' %}
{% block title %}Inscription aus abstracts{% endblock %}
{% block body %}
<section class=\"apppoinment-page-area\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12\">
<h1 class=\"text-center\">{% if app.request.locale=='fr' %}{{congres.label}}{% elseif app.request.locale=='en' %}{{congres.labelEn}}{% endif %}</h1>
<h3 class=\"text-center\">{{'%Inscrivezvousauxabstracts%'|trans}}</h3>
<div class=\"blog-s-title\">
<div class=\"blog-single-meta\">
<span><i class=\"far fa-calendar-alt\"></i>
{{ congres.dateDebut |date(\"d/m/y\")}}
-
{{ congres.dateFin |date(\"d/m/y\")}}</span>
<span>
<i class=\"fa fa-location-dot\"></i>
{{congres.lieu}}</span>
</div>
</div>
<form id=\"front_abstract_congress\" method=\"post\" action=\"{{ path('app_abstract_congress_new',{'id':congres.id}) }}\" enctype=\"multipart/form-data\">
<div class=\"form-row mt-3\">
<div class=\"col-md-6\">
<label for=\"nom\" class=\"text-muted\">{{ '%nom%'|trans|capitalize }} (*)</label>
<input name=\"nom\" class=\"form-control\" required/>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
<label for=\"prenom\" class=\"text-muted\">{{ '%prenom%'|trans|capitalize }} (*)</label>
<input type=\"text\" name=\"prenom\" class=\"form-control\" required/>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
<label for=\"email\" class=\"text-muted\">{{ '%E-mail%'|trans|capitalize }} (*)</label>
<input type=\"email\" name=\"email\" class=\"form-control\" required/>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
<label for=\"password\" class=\"text-muted\">{{ '%Password%'|trans|capitalize }} (*)</label>
<input type=\"password\" name=\"plainPassword\" class=\"form-control\" minlength=\"6\" required/>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
<label for=\"civilite\" class=\"text-muted\">{{ '%civilite%'|trans|capitalize }} (*)</label>
<select name=\"civilite\" id=\"civilite-select\">
<option value=\"Madame\">{{'%Madame%'|trans}}</option>
<option value=\"Mademoiselle\">{{'%Mademoiselle%'|trans}}</option>
<option value=\"Monsieur\">{{'%Monsieur%'|trans}}</option>
</select>
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
{{ include('registration/_specialite.html.twig') }}
</div>
</div>
<div class=\"col-md-6\">
<div class=\"form-group\">
<label for=\"addresse\" class=\"text-muted\">{{ '%Address%'|trans|capitalize }} (*)</label>
<input type=\"text\" name=\"addresse\" class=\"form-control\" required/>
</div>
</div>
<div class=\"col-md-6\">
<label for=\"pays\" class=\"text-muted\">{{'%pays%'|trans|capitalize }} (*)</label>
<select type=\"text\" name=\"pays\" class=\"form-control\">
{% for pay in pays %}
<option value=\"{{pay.id}}\">{{pay.labelFr}}</option>
{% endfor %}
</select>
</div>
<div class=\"col-md-6\">
<label for=\"titre\" class=\"text-muted\">{{ '%titre%'|trans|capitalize }} (*)</label>
<select name=\"titre\" id=\"titre-select\">
<option value=\"Résident\">{{'%Résident%'|trans}}</option>
<option value=\"Spécialiste médical\">{{'%Spécialistemédical%'|trans}}</option>
<option value=\"Assistant\">{{'%Assistant%'|trans}}</option>
<option value=\"Professeur agrégé\">{{'%Professeuragrégé%' |trans}}</option>
<option value=\"Professeur\">{{'%Professeur%' |trans}}</option>
</select>
</div>
<div class=\"col-md-6\">
<label for=\"sousSpecialite\" class=\"text-muted\">{{'%sousSpecialite%'|trans|capitalize }}</label>
<input type=\"text\" name=\"sousSpecialite\" class=\"form-control\"/>
</div>
<div class=\"col-md-6 offset-md-3 mt-3\">
<div class=\"form-group col-md-6 offset-md-3\">
<button class=\"theme-btn btn-block\">{{ button_label|default('Valider') }}</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
{% endblock %}
", "backend/abstract_inscription/new.html.twig", "/home/urotunisuz/www/templates/backend/abstract_inscription/new.html.twig");
}
}