<?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;
/* offre-emploi/fiche.html.twig */
class __TwigTemplate_0ea220db8b9a89c49c4ff1f83ab5800939ebb59baa5b718a38d78f2058b3cc83 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'description' => [$this, 'block_description'],
'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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "offre-emploi/fiche.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "offre-emploi/fiche.html.twig"));
// line 25
$context["siteLdJson"] = twig_array_merge((isset($context["siteLdJson"]) || array_key_exists("siteLdJson", $context) ? $context["siteLdJson"] : (function () { throw new RuntimeError('Variable "siteLdJson" does not exist.', 25, $this->source); })()), [0 => "offre-emploi"]);
// line 27
$context["imgAlt"] = twig_trim_filter(twig_join_filter([0 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 28
(isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 28, $this->source); })()), "etablissement", [], "any", false, false, false, 28), "codePostal", [], "any", false, false, false, 28), 1 => ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 29
(isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 29, $this->source); })()), "etablissement", [], "any", false, false, false, 29), "ville", [], "any", false, false, false, 29)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 29, $this->source); })()), "etablissement", [], "any", false, false, false, 29), "ville", [], "any", false, false, false, 29), "libelle", [], "any", false, false, false, 29)) : ("")), 2 => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 30
(isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 30, $this->source); })()), "etablissement", [], "any", false, false, false, 30), "denomination", [], "any", false, false, false, 30)], " - "), " -");
// line 33
$context["type"] = "";
// line 34
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 34, $this->source); })()), "etablissement", [], "any", false, false, false, 34), "typeClient", [], "any", false, false, false, 34), "internat"))) {
// line 35
$context["type"] = "internat";
}
// line 1
$this->parent = $this->loadTemplate("base.html.twig", "offre-emploi/fiche.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 3
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"));
// line 5
echo twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 5, $this->source); })()), "profil", [], "any", false, false, false, 5);
// line 6
if (twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 6, $this->source); })()), "etablissement", [], "any", false, false, false, 6)) {
// line 7
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 7, $this->source); })()), "etablissement", [], "any", false, false, false, 7), "ville", [], "any", false, false, false, 7) && !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 7, $this->source); })()), "etablissement", [], "any", false, false, false, 7), "ville", [], "any", false, false, false, 7), "empty", [], "any", false, false, false, 7))) {
echo " - ";
echo $this->extensions['App\Twig\LieuExtension']->lieuLibelle(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 7, $this->source); })()), "etablissement", [], "any", false, false, false, 7), "ville", [], "any", false, false, false, 7));
}
} else {
// line 9
echo " - enseignement-prive.info";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 14
public function block_description($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", "description"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "description"));
// line 16
echo "Offre d'emploi ";
echo twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 16, $this->source); })()), "profil", [], "any", false, false, false, 16);
// line 17
if (twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 17, $this->source); })()), "etablissement", [], "any", false, false, false, 17)) {
echo " - ";
echo twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 17, $this->source); })()), "etablissement", [], "any", false, false, false, 17), "denomination", [], "any", false, false, false, 17);
// line 18
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 18, $this->source); })()), "etablissement", [], "any", false, false, false, 18), "ville", [], "any", false, false, false, 18) && !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 18, $this->source); })()), "etablissement", [], "any", false, false, false, 18), "ville", [], "any", false, false, false, 18), "empty", [], "any", false, false, false, 18))) {
echo " - ";
echo $this->extensions['App\Twig\LieuExtension']->lieuLibelle(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 18, $this->source); })()), "etablissement", [], "any", false, false, false, 18), "ville", [], "any", false, false, false, 18));
}
} else {
// line 20
echo " - enseignement-prive.info";
}
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 38
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 39
echo "<section class=\"container page-offres single form\">
<div id=\"breadcrumb\">
";
// line 41
$this->loadTemplate("offre-emploi/_includes/breadcrumb.html.twig", "offre-emploi/fiche.html.twig", 41)->display($context);
// line 42
echo " </div>
<div class=\"title\">
<h1>Offres d'emploi</h1>
<div class=\"triangle-defaut\"></div>
</div>
<section>
<article class=\"";
// line 48
echo "\">
<div class=\"infos\">
";
// line 50
if (((twig_get_attribute($this->env, $this->source, ($context["offre"] ?? null), "etablissement", [], "any", true, true, false, 50) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 50, $this->source); })()), "etablissement", [], "any", false, false, false, 50), "isClient", [], "any", false, false, false, 50)) && !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 50, $this->source); })()), "etablissement", [], "any", false, false, false, 50), "imagesDiaporama", [], "any", false, false, false, 50)))) {
// line 51
echo " ";
$context["firstDiapo"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 51, $this->source); })()), "etablissement", [], "any", false, false, false, 51), "imagesDiaporama", [], "any", false, false, false, 51));
// line 52
echo " ";
$context["urlImage"] = $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("images/jouve/photo/" . (isset($context["firstDiapo"]) || array_key_exists("firstDiapo", $context) ? $context["firstDiapo"] : (function () { throw new RuntimeError('Variable "firstDiapo" does not exist.', 52, $this->source); })()))), "diapo_list");
// line 53
echo " ";
}
// line 54
echo " <figure class=\"resize\">
";
// line 55
if (array_key_exists("urlImage", $context)) {
// line 56
echo " <img class=\"resp\" src=\"";
echo twig_escape_filter($this->env, (isset($context["urlImage"]) || array_key_exists("urlImage", $context) ? $context["urlImage"] : (function () { throw new RuntimeError('Variable "urlImage" does not exist.', 56, $this->source); })()), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 56, $this->source); })()), "etablissement", [], "any", false, false, false, 56), "denomination", [], "any", false, false, false, 56), "html", null, true);
echo "\">
";
} else {
// line 58
echo " <span class=\"no-logo\"></span>
";
}
// line 60
echo " </figure>
";
// line 61
if (((0 !== twig_compare($this->extensions['App\Twig\TypeOngletExtension']->type(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 61, $this->source); })()), "etablissement", [], "any", false, false, false, 61), "type", [], "any", false, false, false, 61)), "none")) || !twig_test_empty((isset($context["type"]) || array_key_exists("type", $context) ? $context["type"] : (function () { throw new RuntimeError('Variable "type" does not exist.', 61, $this->source); })())))) {
// line 62
echo " <div class=\"w-100 d-flex justify-content-center mb-4\">
<a class=\"btn bg-primary text-white\" href=\"";
// line 63
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["pathBuilder"]) || array_key_exists("pathBuilder", $context) ? $context["pathBuilder"] : (function () { throw new RuntimeError('Variable "pathBuilder" does not exist.', 63, $this->source); })()), "buildFiche", [0 => twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 63, $this->source); })()), "etablissement", [], "any", false, false, false, 63)], "method", false, false, false, 63), "html", null, true);
echo "\" data-trace-action=\"";
echo twig_escape_filter($this->env, twig_constant("App\\Entity\\Trace::CLIC_FICHE_EMPLOI"), "html_attr");
echo "\" data-trace-etab=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 63, $this->source); })()), "etablissement", [], "any", false, false, false, 63), "id", [], "any", false, false, false, 63), "html_attr");
echo "\">Voir la fiche établissement</a>
</div>
";
}
// line 66
echo "
</div>
<div class=\"content\">
<span class=\"date\">Postée le ";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Twig\Extra\Intl\IntlExtension']->formatDate($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 69, $this->source); })()), "dateActualisation", [], "any", false, false, false, 69), "medium", "d/MM/Y"), "html", null, true);
echo "</span>
<header class=\"w-100\">
";
// line 71
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 71, $this->source); })()), "etablissement", [], "any", false, false, false, 71), "logo", [], "any", false, false, false, 71))) {
// line 72
echo " <figure>
<img src=\"";
// line 73
echo twig_escape_filter($this->env, $this->extensions['Liip\ImagineBundle\Templating\FilterExtension']->filter($this->extensions['Vich\UploaderBundle\Twig\Extension\UploaderExtension']->asset(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 73, $this->source); })()), "etablissement", [], "any", false, false, false, 73), "logo", [], "any", false, false, false, 73), "logoFile"), "etab_fiche_logo"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, (isset($context["imgAlt"]) || array_key_exists("imgAlt", $context) ? $context["imgAlt"] : (function () { throw new RuntimeError('Variable "imgAlt" does not exist.', 73, $this->source); })()), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, (isset($context["imgAlt"]) || array_key_exists("imgAlt", $context) ? $context["imgAlt"] : (function () { throw new RuntimeError('Variable "imgAlt" does not exist.', 73, $this->source); })()), "html", null, true);
echo "\">
</figure>
";
}
// line 76
echo " <div>
";
// line 77
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 77, $this->source); })()), "etablissement", [], "any", false, false, false, 77), "ville", [], "any", false, false, false, 77)) {
// line 78
echo " <p class=\"city\">
";
// line 79
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 79, $this->source); })()), "etablissement", [], "any", false, false, false, 79), "ville", [], "any", false, false, false, 79), "libelle", [], "any", false, false, false, 79), "html", null, true);
echo "
";
// line 80
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 80, $this->source); })()), "etablissement", [], "any", false, false, false, 80), "departement", [], "any", false, false, false, 80)) {
// line 81
echo " (";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 81, $this->source); })()), "etablissement", [], "any", false, false, false, 81), "departement", [], "any", false, false, false, 81), "id", [], "any", false, false, false, 81), "html", null, true);
echo ")
";
}
// line 83
echo " </p>
";
}
// line 85
echo " <h1>";
if ((0 === twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 85, $this->source); })()), "profil", [], "any", false, false, false, 85), "N/A"))) {
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 85, $this->source); })()), "libelle", [], "any", false, false, false, 85), "html", null, true);
echo " ";
} else {
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 85, $this->source); })()), "profil", [], "any", false, false, false, 85), "html", null, true);
echo " ";
}
echo " ";
if ((0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 85, $this->source); })()), "contrat", [], "any", false, false, false, 85), "N/A"))) {
echo " - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 85, $this->source); })()), "contrat", [], "any", false, false, false, 85), "html", null, true);
echo " ";
}
echo "</h1>
<p class=\"estab\">";
// line 86
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $this->extensions['Twig\Extra\String\StringExtension']->createUnicodeString(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 86, $this->source); })()), "etablissement", [], "any", false, false, false, 86), "denomination", [], "any", false, false, false, 86)), "truncate", [0 => 70, 1 => "…", 2 => true], "method", false, false, false, 86), "html", null, true);
echo "</p>
</div>
</header>
<p>
";
// line 90
if ($this->extensions['App\Twig\IsHtmlExtension']->isHtml(twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 90, $this->source); })()), "description", [], "any", false, false, false, 90))) {
// line 91
echo " ";
echo twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 91, $this->source); })()), "description", [], "any", false, false, false, 91);
echo "
";
} else {
// line 93
echo " ";
echo twig_nl2br(twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["offre"]) || array_key_exists("offre", $context) ? $context["offre"] : (function () { throw new RuntimeError('Variable "offre" does not exist.', 93, $this->source); })()), "description", [], "any", false, false, false, 93), "html", null, true));
echo "
";
}
// line 95
echo " </p>
";
// line 96
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.', 96, $this->source); })()), 'form_start');
echo "
<h2>Postuler à cette offre</h2>
<small class=\"form-text text-muted\">* Champs obligatoires</small>
";
// line 99
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.', 99, $this->source); })()), "civilite", [], "any", false, false, false, 99), 'row', ["label" => "Civilité", "attr" => ["class" => "full-width"]]);
// line 104
echo "
";
// line 105
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.', 105, $this->source); })()), "prenom", [], "any", false, false, false, 105), 'row', ["label" => "Prénom", "attr" => ["placeholder" => "Prénom"]]);
// line 110
echo "
";
// line 111
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.', 111, $this->source); })()), "nom", [], "any", false, false, false, 111), 'row', ["label" => "Nom", "attr" => ["placeholder" => "Nom"]]);
// line 116
echo "
";
// line 117
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.', 117, $this->source); })()), "adresse", [], "any", false, false, false, 117), 'row', ["label" => "Adresse", "attr" => ["placeholder" => "Adresse", "class" => "full-width"]]);
// line 123
echo "
";
// line 124
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.', 124, $this->source); })()), "codePostal", [], "any", false, false, false, 124), 'row', ["label" => "Code postal", "attr" => ["placeholder" => "Code postal"]]);
// line 129
echo "
";
// line 130
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.', 130, $this->source); })()), "ville", [], "any", false, false, false, 130), 'row', ["label" => "Ville", "attr" => ["placeholder" => "Ville"]]);
// line 135
echo "
";
// line 136
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.', 136, $this->source); })()), "telephone", [], "any", false, false, false, 136), 'row', ["label" => "Téléphone", "attr" => ["placeholder" => "Téléphone"]]);
// line 141
echo "
";
// line 142
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.', 142, $this->source); })()), "email", [], "any", false, false, false, 142), 'row', ["label" => "E-mail", "attr" => ["placeholder" => "E-mail"]]);
// line 147
echo "
";
// line 148
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.', 148, $this->source); })()), "resume", [], "any", false, false, false, 148), 'row', ["label" => "CV", "attr" => ["data-text" => "Joindre mon CV *", "class" => "fixed form-control-file full-width"]]);
// line 154
echo "
";
// line 155
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.', 155, $this->source); })()), "commentaire", [], "any", false, false, false, 155), 'row', ["label" => "Personnaliser votre candidature", "attr" => ["placeholder" => "Personnaliser votre candidature", "class" => "full-width"]]);
// line 161
echo "
";
// line 163
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.', 163, $this->source); })()), "captcha", [], "any", false, false, false, 163), 'row', ["label" => "Veuillez recopier le message suivant", "attr" => ["placeholder" => "Veuillez recopier le message ci-dessous", "class" => "full-width"]]);
// line 169
echo "
";
// line 172
echo " ";
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.', 172, $this->source); })()), "email2", [], "any", false, false, false, 172), 'row', ["attr" => ["class" => "full-width", "style" => "display:none !important", "tabindex" => "-1", "autocomplete" => "off"]]);
// line 177
echo "
<div class=\"w-100 text-center\">
<input type=\"submit\" class=\"btn bg-primary\" value=\"Envoyer ma candidature\" />
</div>
";
// line 183
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.', 183, $this->source); })()), 'form_end');
echo "
</div>
</article>
</section>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "offre-emploi/fiche.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 380 => 183, 372 => 177, 369 => 172, 365 => 169, 363 => 163, 359 => 161, 357 => 155, 354 => 154, 352 => 148, 349 => 147, 347 => 142, 344 => 141, 342 => 136, 339 => 135, 337 => 130, 334 => 129, 332 => 124, 329 => 123, 327 => 117, 324 => 116, 322 => 111, 319 => 110, 317 => 105, 314 => 104, 312 => 99, 306 => 96, 303 => 95, 297 => 93, 291 => 91, 289 => 90, 282 => 86, 263 => 85, 259 => 83, 253 => 81, 251 => 80, 247 => 79, 244 => 78, 242 => 77, 239 => 76, 229 => 73, 226 => 72, 224 => 71, 219 => 69, 214 => 66, 204 => 63, 201 => 62, 199 => 61, 196 => 60, 192 => 58, 184 => 56, 182 => 55, 179 => 54, 176 => 53, 173 => 52, 170 => 51, 168 => 50, 164 => 48, 156 => 42, 154 => 41, 150 => 39, 140 => 38, 129 => 20, 123 => 18, 119 => 17, 116 => 16, 106 => 14, 95 => 9, 89 => 7, 87 => 6, 85 => 5, 75 => 3, 64 => 1, 61 => 35, 59 => 34, 57 => 33, 55 => 30, 54 => 29, 53 => 28, 52 => 27, 50 => 25, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{%- block title %}
{%- autoescape false -%}
{{ offre.profil -}}
{%- if offre.etablissement -%}
{%- if offre.etablissement.ville and not offre.etablissement.ville.empty %} - {{ offre.etablissement.ville|lieuLibelle }}
{%- endif -%}
{%- else %} - enseignement-prive.info
{%- endif %}
{%- endautoescape -%}
{%- endblock %}
{% block description -%}
{%- autoescape false -%}
Offre d'emploi {{ offre.profil -}}
{%- if offre.etablissement %} - {{ offre.etablissement.denomination -}}
{%- if offre.etablissement.ville and not offre.etablissement.ville.empty %} - {{ offre.etablissement.ville|lieuLibelle }}
{%- endif -%}
{%- else %} - enseignement-prive.info
{%- endif %}
{%- endautoescape -%}
{%- endblock %}
{% set siteLdJson = siteLdJson | merge(['offre-emploi']) %}
{% set imgAlt = [
offre.etablissement.codePostal,
(offre.etablissement.ville ? offre.etablissement.ville.libelle : ''),
offre.etablissement.denomination,
]|join(' - ')|trim(' -') %}
{% set type = \"\" %}
{% if offre.etablissement.typeClient == 'internat' %}
{% set type = \"internat\" %}
{% endif %}
{% block body %}
<section class=\"container page-offres single form\">
<div id=\"breadcrumb\">
{% include 'offre-emploi/_includes/breadcrumb.html.twig' %}
</div>
<div class=\"title\">
<h1>Offres d'emploi</h1>
<div class=\"triangle-defaut\"></div>
</div>
<section>
<article class=\"{#{{ type ? type : typeOnglet(offre.etablissement.type) }}#}\">
<div class=\"infos\">
{% if offre.etablissement is defined and offre.etablissement.isClient and offre.etablissement.imagesDiaporama is not empty %}
{% set firstDiapo = offre.etablissement.imagesDiaporama | first %}
{% set urlImage = asset('images/jouve/photo/' ~ firstDiapo) | imagine_filter('diapo_list') %}
{% endif %}
<figure class=\"resize\">
{% if urlImage is defined %}
<img class=\"resp\" src=\"{{ urlImage }}\" alt=\"{{ offre.etablissement.denomination }}\">
{% else %}
<span class=\"no-logo\"></span>
{% endif %}
</figure>
{% if typeOnglet(offre.etablissement.type) != \"none\" or type is not empty %}
<div class=\"w-100 d-flex justify-content-center mb-4\">
<a class=\"btn bg-primary text-white\" href=\"{{ pathBuilder.buildFiche(offre.etablissement) }}\" data-trace-action=\"{{ constant('App\\\\Entity\\\\Trace::CLIC_FICHE_EMPLOI') | e('html_attr') }}\" data-trace-etab=\"{{ offre.etablissement.id | e('html_attr') }}\">Voir la fiche établissement</a>
</div>
{% endif %}
</div>
<div class=\"content\">
<span class=\"date\">Postée le {{ offre.dateActualisation | format_date(pattern='d/MM/Y') }}</span>
<header class=\"w-100\">
{% if offre.etablissement.logo is not empty %}
<figure>
<img src=\"{{ vich_uploader_asset(offre.etablissement.logo, 'logoFile') | imagine_filter('etab_fiche_logo') }}\" alt=\"{{ imgAlt }}\" title=\"{{ imgAlt }}\">
</figure>
{% endif %}
<div>
{% if offre.etablissement.ville %}
<p class=\"city\">
{{ offre.etablissement.ville.libelle }}
{% if offre.etablissement.departement %}
({{ offre.etablissement.departement.id }})
{% endif %}
</p>
{% endif %}
<h1>{% if offre.profil == \"N/A\" %} {{ offre.libelle }} {%else%} {{ offre.profil }} {%endif%} {% if offre.contrat != \"N/A\" %} - {{ offre.contrat }} {% endif %}</h1>
<p class=\"estab\">{{ offre.etablissement.denomination | u.truncate(70, '…', true) }}</p>
</div>
</header>
<p>
{% if is_html(offre.description) %}
{{ offre.description|raw }}
{% else %}
{{ offre.description|nl2br }}
{% endif %}
</p>
{{ form_start(form) }}
<h2>Postuler à cette offre</h2>
<small class=\"form-text text-muted\">* Champs obligatoires</small>
{{ form_row(form.civilite, {
'label': 'Civilité',
'attr' : {
'class' : 'full-width',
},
}) }}
{{ form_row(form.prenom, {
'label': 'Prénom',
'attr' : {
'placeholder': 'Prénom',
},
}) }}
{{ form_row(form.nom, {
'label': 'Nom',
'attr' : {
'placeholder': 'Nom',
},
}) }}
{{ form_row(form.adresse, {
'label': 'Adresse',
'attr' : {
'placeholder': 'Adresse',
'class' : 'full-width',
},
}) }}
{{ form_row(form.codePostal, {
'label': 'Code postal',
'attr' : {
'placeholder': 'Code postal',
},
}) }}
{{ form_row(form.ville, {
'label': 'Ville',
'attr' : {
'placeholder': 'Ville',
},
}) }}
{{ form_row(form.telephone, {
'label': 'Téléphone',
'attr' : {
'placeholder': 'Téléphone',
},
}) }}
{{ form_row(form.email, {
'label': 'E-mail',
'attr' : {
'placeholder': 'E-mail',
},
}) }}
{{ form_row(form.resume, {
'label': 'CV',
'attr' : {
'data-text': 'Joindre mon CV *',
'class': 'fixed form-control-file full-width',
},
}) }}
{{ form_row(form.commentaire, {
'label': 'Personnaliser votre candidature',
'attr' : {
'placeholder': 'Personnaliser votre candidature',
'class' : 'full-width',
},
}) }}
{{ form_row(form.captcha, {
'label': 'Veuillez recopier le message suivant',
'attr' : {
'placeholder': 'Veuillez recopier le message ci-dessous',
'class' : 'full-width',
},
}) }}
{# Honeypot #}
{{ form_row(form.email2, {
attr: {class: 'full-width',
style: 'display:none !important',
tabindex: '-1',
autocomplete: 'off'}
}) }}
<div class=\"w-100 text-center\">
<input type=\"submit\" class=\"btn bg-primary\" value=\"Envoyer ma candidature\" />
</div>
{{ form_end(form) }}
</div>
</article>
</section>
</section>
{% endblock %}
", "offre-emploi/fiche.html.twig", "/app/templates/offre-emploi/fiche.html.twig");
}
}