<?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;
/* admin/candidate/candidate_edit.html.twig */
class __TwigTemplate_13293585a8031e9fc8fe6134383b71a8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'addJs' => [$this, 'block_addJs'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "admin/base.html.twig";
}
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", "admin/candidate/candidate_edit.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "admin/candidate/candidate_edit.html.twig"));
$this->parent = $this->loadTemplate("admin/base.html.twig", "admin/candidate/candidate_edit.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 3
public function block_title($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"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
yield "Кандидат";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 6
public function block_content($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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 7
yield " <h1 class=\"h3 mb-2 text-gray-800\">";
yield ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 7, $this->source); })()), "id", [], "any", false, false, false, 7)) ? ("Редактирование") : ("Создание"));
yield " кандидата";
((CoreExtension::getAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 7, $this->source); })()), "id", [], "any", false, false, false, 7)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((" " . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 7, $this->source); })()), "person", [], "any", false, false, false, 7), "name", [], "any", false, false, false, 7)), "html", null, true)) : (yield ""));
yield "</h1>
<div class=\"card shadow mb-4 mt-4\">
<div class=\"card-header py-3\">
<h6 class=\"m-0 font-weight-bold text-primary\">Кандидат</h6>
</div>
<div class=\"card-body\">
";
// line 14
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.', 14, $this->source); })()), 'form_start');
yield "
";
// line 15
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 15, $this->source); })()), "_token", [], "any", false, false, false, 15), 'row');
yield "
<div class=\"form-group mt-3\">
<label>Фото:</label>
";
// line 19
yield from $this->loadTemplate("components/image_input.html.twig", "admin/candidate/candidate_edit.html.twig", 19)->unwrap()->yield(CoreExtension::merge($context, ["options" => ["formWidgetField" => CoreExtension::getAttribute($this->env, $this->source, // line 20
(isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 20, $this->source); })()), "newImage", [], "any", false, false, false, 20), "imagePath" => ((CoreExtension::getAttribute($this->env, $this->source, // line 21
(isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 21, $this->source); })()), "image", [], "any", false, false, false, 21)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("image_view", ["id" => CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["item"]) || array_key_exists("item", $context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.', 21, $this->source); })()), "image", [], "any", false, false, false, 21), "id", [], "any", false, false, false, 21)])) : (null)), "required" => false, "canRemove" => true, "form" => // line 24
(isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 24, $this->source); })()), "mediaType" => "image"]]));
// line 27
yield " </div>
<div class=\"form-group\"";
// line 29
yield (( !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any", false, false, false, 29), "canEditCandidateAccessByReceipt", [], "any", false, false, false, 29)) ? (" style=\"display: none;\"") : (""));
yield ">
";
// line 30
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 30, $this->source); })()), "comment", [], "any", false, false, false, 30), 'label');
yield ":
";
// line 31
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 31, $this->source); })()), "comment", [], "any", false, false, false, 31), 'widget', ["attr" => ["class" => "form-control", "rows" => 2, "placeholder" => "Пил травы тогда-то..."]]);
yield "
</div>
<div class=\"form-group\"";
// line 34
yield (( !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any", false, false, false, 34), "canEditAllCandidateParams", [], "any", false, false, false, 34)) ? (" style=\"display: none;\"") : (""));
yield ">
";
// line 35
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 35, $this->source); })()), "recommendations", [], "any", false, false, false, 35), 'label');
yield " (не обязательно):
";
// line 36
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 36, $this->source); })()), "recommendations", [], "any", false, false, false, 36), 'widget', ["attr" => ["class" => "form-control", "rows" => 2, "placeholder" => "Рекомендую сделать то-то..."]]);
yield "
</div>
<div class=\"form-group\"";
// line 39
yield (( !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any", false, false, false, 39), "canEditAllCandidateParams", [], "any", false, false, false, 39)) ? (" style=\"display: none;\"") : (""));
yield ">
";
// line 40
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 40, $this->source); })()), "declineComment", [], "any", false, false, false, 40), 'label');
yield " (не обязательно):
";
// line 41
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 41, $this->source); })()), "declineComment", [], "any", false, false, false, 41), 'widget', ["attr" => ["class" => "form-control", "rows" => 2]]);
yield "
</div>
<div class=\"form-group\"
";
// line 46
yield " >
";
// line 47
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 47, $this->source); })()), "person", [], "any", false, false, false, 47), 'label');
yield ":
";
// line 48
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 48, $this->source); })()), "person", [], "any", false, false, false, 48), 'widget', ["attr" => ["class" => "form-control"]]);
yield "
</div>
<div class=\"form-group\"
";
// line 53
yield " >
";
// line 54
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 54, $this->source); })()), "calendarEvent", [], "any", false, false, false, 54), 'label');
yield ":
";
// line 55
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 55, $this->source); })()), "calendarEvent", [], "any", false, false, false, 55), 'widget', ["attr" => ["class" => "form-control"]]);
yield "
</div>
<div class=\"form-group\"
";
// line 59
yield (( !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any", false, false, false, 59), "canEditAllCandidateParams", [], "any", false, false, false, 59)) ? (" style=\"display: none;\"") : (""));
yield "
>
";
// line 61
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 61, $this->source); })()), "status", [], "any", false, false, false, 61), 'label');
yield ":
";
// line 62
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 62, $this->source); })()), "status", [], "any", false, false, false, 62), 'widget', ["attr" => ["class" => "form-control"]]);
yield "
</div>
";
// line 66
yield " <div class=\"form-group\"
";
// line 68
yield " >
";
// line 69
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 69, $this->source); })()), "curator", [], "any", false, false, false, 69), 'label');
yield ":
";
// line 70
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 70, $this->source); })()), "curator", [], "any", false, false, false, 70), 'widget', ["attr" => ["class" => "form-control"]]);
yield "
</div>
<div class=\"form-group\"";
// line 73
yield (( !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any", false, false, false, 73), "canEditCandidateAccessByReceipt", [], "any", false, false, false, 73)) ? (" style=\"display: none;\"") : (""));
yield ">
<label>
";
// line 75
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 75, $this->source); })()), "accessByReceipt", [], "any", false, false, false, 75), 'widget', ["attr" => ["class" => ""]]);
yield "
";
// line 76
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 76, $this->source); })()), "accessByReceipt", [], "any", false, false, false, 76), 'label');
yield "
</label>
</div>
<div class=\"form-group\"";
// line 80
yield (( !CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any", false, false, false, 80), "canEditCandidateAccessByReceipt", [], "any", false, false, false, 80)) ? (" style=\"display: none;\"") : (""));
yield ">
<label>
";
// line 82
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 82, $this->source); })()), "paymentDeferment", [], "any", false, false, false, 82), 'widget', ["attr" => ["class" => ""]]);
yield "
";
// line 83
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.', 83, $this->source); })()), "paymentDeferment", [], "any", false, false, false, 83), 'label');
yield "
</label>
</div>
<button class=\"btn btn-primary\" type=\"submit\">Сохранить</button>
";
// line 88
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.', 88, $this->source); })()), 'form_end', ["render_rest" => false]);
yield "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 93
public function block_addJs($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", "addJs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "addJs"));
// line 94
yield " <script>
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "admin/candidate/candidate_edit.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 284 => 94, 274 => 93, 259 => 88, 251 => 83, 247 => 82, 242 => 80, 235 => 76, 231 => 75, 226 => 73, 220 => 70, 216 => 69, 213 => 68, 210 => 66, 204 => 62, 200 => 61, 195 => 59, 188 => 55, 184 => 54, 181 => 53, 174 => 48, 170 => 47, 167 => 46, 160 => 41, 156 => 40, 152 => 39, 146 => 36, 142 => 35, 138 => 34, 132 => 31, 128 => 30, 124 => 29, 120 => 27, 118 => 24, 117 => 21, 116 => 20, 115 => 19, 108 => 15, 104 => 14, 91 => 7, 81 => 6, 61 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'admin/base.html.twig' %}
{% block title %}Кандидат{% endblock %}
{% block content %}
<h1 class=\"h3 mb-2 text-gray-800\">{{ item.id ? 'Редактирование' : 'Создание' }} кандидата{{ item.id ? \" \" ~ item.person.name }}</h1>
<div class=\"card shadow mb-4 mt-4\">
<div class=\"card-header py-3\">
<h6 class=\"m-0 font-weight-bold text-primary\">Кандидат</h6>
</div>
<div class=\"card-body\">
{{ form_start(form) }}
{{ form_row(form._token) }}
<div class=\"form-group mt-3\">
<label>Фото:</label>
{% include 'components/image_input.html.twig' with { options: {
formWidgetField: form.newImage,
imagePath: item.image ? path('image_view', {id: item.image.id}) : null,
required: false,
canRemove: true,
form: form,
mediaType: 'image'
} } %}
</div>
<div class=\"form-group\"{{ not getUser().settings.canEditCandidateAccessByReceipt ? ' style=\"display: none;\"' : '' }}>
{{ form_label(form.comment) }}:
{{ form_widget(form.comment, { 'attr': { 'class': 'form-control', 'rows': 2, placeholder: \"Пил травы тогда-то...\" } }) }}
</div>
<div class=\"form-group\"{{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}>
{{ form_label(form.recommendations) }} (не обязательно):
{{ form_widget(form.recommendations, { 'attr': { 'class': 'form-control', 'rows': 2, placeholder: \"Рекомендую сделать то-то...\" } }) }}
</div>
<div class=\"form-group\"{{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}>
{{ form_label(form.declineComment) }} (не обязательно):
{{ form_widget(form.declineComment, { 'attr': { 'class': 'form-control', 'rows': 2 } }) }}
</div>
<div class=\"form-group\"
{# {{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}#}
>
{{ form_label(form.person) }}:
{{ form_widget(form.person, { 'attr': { 'class': 'form-control' } }) }}
</div>
<div class=\"form-group\"
{# {{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}#}
>
{{ form_label(form.calendarEvent) }}:
{{ form_widget(form.calendarEvent, { 'attr': { 'class': 'form-control' } }) }}
</div>
<div class=\"form-group\"
{{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}
>
{{ form_label(form.status) }}:
{{ form_widget(form.status, { 'attr': { 'class': 'form-control' } }) }}
</div>
{# Поле Куратор #}
<div class=\"form-group\"
{# {{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}#}
>
{{ form_label(form.curator) }}:
{{ form_widget(form.curator, { 'attr': { 'class': 'form-control' } }) }}
</div>
<div class=\"form-group\"{{ not getUser().settings.canEditCandidateAccessByReceipt ? ' style=\"display: none;\"' : '' }}>
<label>
{{ form_widget(form.accessByReceipt, { 'attr': { 'class': '' } }) }}
{{ form_label(form.accessByReceipt) }}
</label>
</div>
<div class=\"form-group\"{{ not getUser().settings.canEditCandidateAccessByReceipt ? ' style=\"display: none;\"' : '' }}>
<label>
{{ form_widget(form.paymentDeferment, { 'attr': { 'class': '' } }) }}
{{ form_label(form.paymentDeferment) }}
</label>
</div>
<button class=\"btn btn-primary\" type=\"submit\">Сохранить</button>
{{ form_end(form, { 'render_rest': false }) }}
</div>
</div>
{% endblock %}
{% block addJs %}
<script>
</script>
{% endblock %}
", "admin/candidate/candidate_edit.html.twig", "/home/sariato/www/dev.centr.sariato.ru/templates/admin/candidate/candidate_edit.html.twig");
}
}