var/cache/dev/twig/df/dfede5d071be88626b4ebdeb5f402a94.php line 51

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* admin/candidate/candidate_edit.html.twig */
  15. class __TwigTemplate_13293585a8031e9fc8fe6134383b71a8 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'content' => [$this'block_content'],
  26.             'addJs' => [$this'block_addJs'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "admin/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/candidate/candidate_edit.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""admin/candidate/candidate_edit.html.twig"));
  41.         $this->parent $this->loadTemplate("admin/base.html.twig""admin/candidate/candidate_edit.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         yield "Кандидат";
  57.         
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  59.         
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  61.         return; yield '';
  62.     }
  63.     // line 6
  64.     public function block_content($context, array $blocks = [])
  65.     {
  66.         $macros $this->macros;
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  69.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  71.         // line 7
  72.         yield "    <h1 class=\"h3 mb-2 text-gray-800\">";
  73.         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"falsefalsefalse7)) ? ("Редактирование") : ("Создание"));
  74.         yield " кандидата";
  75.         ((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"falsefalsefalse7)) ? (yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((" " CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse7), "name", [], "any"falsefalsefalse7)), "html"nulltrue)) : (yield ""));
  76.         yield "</h1>
  77.     <div class=\"card shadow mb-4 mt-4\">
  78.         <div class=\"card-header py-3\">
  79.             <h6 class=\"m-0 font-weight-bold text-primary\">Кандидат</h6>
  80.         </div>
  81.         <div class=\"card-body\">
  82.             ";
  83.         // line 14
  84.         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');
  85.         yield "
  86.                 ";
  87.         // line 15
  88.         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"falsefalsefalse15), 'row');
  89.         yield "
  90.                 <div class=\"form-group mt-3\">
  91.                     <label>Фото:</label>
  92.                     ";
  93.         // line 19
  94.         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
  95. (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'20$this->source); })()), "newImage", [], "any"falsefalsefalse20), "imagePath" => ((CoreExtension::getAttribute($this->env$this->source,         // line 21
  96. (isset($context["item"]) || array_key_exists("item"$context) ? $context["item"] : (function () { throw new RuntimeError('Variable "item" does not exist.'21$this->source); })()), "image", [], "any"falsefalsefalse21)) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("image_view", ["id" => CoreExtension::getAttribute($this->env$this->sourceCoreExtension::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"falsefalsefalse21), "id", [], "any"falsefalsefalse21)])) : (null)), "required" => false"canRemove" => true"form" =>         // line 24
  97. (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'24$this->source); })()), "mediaType" => "image"]]));
  98.         // line 27
  99.         yield "                </div>
  100.                 <div class=\"form-group\"";
  101.         // line 29
  102.         yield (( !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any"falsefalsefalse29), "canEditCandidateAccessByReceipt", [], "any"falsefalsefalse29)) ? (" style=\"display: none;\"") : (""));
  103.         yield ">
  104.                     ";
  105.         // line 30
  106.         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"falsefalsefalse30), 'label');
  107.         yield ":
  108.                     ";
  109.         // line 31
  110.         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"falsefalsefalse31), 'widget', ["attr" => ["class" => "form-control""rows" => 2"placeholder" => "Пил травы тогда-то..."]]);
  111.         yield "
  112.                 </div>
  113.                 <div class=\"form-group\"";
  114.         // line 34
  115.         yield (( !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any"falsefalsefalse34), "canEditAllCandidateParams", [], "any"falsefalsefalse34)) ? (" style=\"display: none;\"") : (""));
  116.         yield ">
  117.                     ";
  118.         // line 35
  119.         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"falsefalsefalse35), 'label');
  120.         yield " (не обязательно):
  121.                     ";
  122.         // line 36
  123.         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"falsefalsefalse36), 'widget', ["attr" => ["class" => "form-control""rows" => 2"placeholder" => "Рекомендую сделать то-то..."]]);
  124.         yield "
  125.                 </div>
  126.                 <div class=\"form-group\"";
  127.         // line 39
  128.         yield (( !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any"falsefalsefalse39), "canEditAllCandidateParams", [], "any"falsefalsefalse39)) ? (" style=\"display: none;\"") : (""));
  129.         yield ">
  130.                     ";
  131.         // line 40
  132.         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"falsefalsefalse40), 'label');
  133.         yield " (не обязательно):
  134.                     ";
  135.         // line 41
  136.         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"falsefalsefalse41), 'widget', ["attr" => ["class" => "form-control""rows" => 2]]);
  137.         yield "
  138.                 </div>
  139.                 <div class=\"form-group\"
  140. ";
  141.         // line 46
  142.         yield "                >
  143.                     ";
  144.         // line 47
  145.         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"falsefalsefalse47), 'label');
  146.         yield ":
  147.                     ";
  148.         // line 48
  149.         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"falsefalsefalse48), 'widget', ["attr" => ["class" => "form-control"]]);
  150.         yield "
  151.                 </div>
  152.                 <div class=\"form-group\"
  153. ";
  154.         // line 53
  155.         yield "                >
  156.                     ";
  157.         // line 54
  158.         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"falsefalsefalse54), 'label');
  159.         yield ":
  160.                     ";
  161.         // line 55
  162.         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"falsefalsefalse55), 'widget', ["attr" => ["class" => "form-control"]]);
  163.         yield "
  164.                 </div>
  165.                 <div class=\"form-group\"
  166.                         ";
  167.         // line 59
  168.         yield (( !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any"falsefalsefalse59), "canEditAllCandidateParams", [], "any"falsefalsefalse59)) ? (" style=\"display: none;\"") : (""));
  169.         yield "
  170.                 >
  171.                     ";
  172.         // line 61
  173.         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"falsefalsefalse61), 'label');
  174.         yield ":
  175.                     ";
  176.         // line 62
  177.         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"falsefalsefalse62), 'widget', ["attr" => ["class" => "form-control"]]);
  178.         yield "
  179.                 </div>
  180.                 ";
  181.         // line 66
  182.         yield "                <div class=\"form-group\"
  183. ";
  184.         // line 68
  185.         yield "                >
  186.                     ";
  187.         // line 69
  188.         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"falsefalsefalse69), 'label');
  189.         yield ":
  190.                     ";
  191.         // line 70
  192.         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"falsefalsefalse70), 'widget', ["attr" => ["class" => "form-control"]]);
  193.         yield "
  194.                 </div>
  195.                 <div class=\"form-group\"";
  196.         // line 73
  197.         yield (( !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any"falsefalsefalse73), "canEditCandidateAccessByReceipt", [], "any"falsefalsefalse73)) ? (" style=\"display: none;\"") : (""));
  198.         yield ">
  199.                     <label>
  200.                         ";
  201.         // line 75
  202.         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"falsefalsefalse75), 'widget', ["attr" => ["class" => ""]]);
  203.         yield "
  204.                         ";
  205.         // line 76
  206.         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"falsefalsefalse76), 'label');
  207.         yield "
  208.                     </label>
  209.                 </div>
  210.                 <div class=\"form-group\"";
  211.         // line 80
  212.         yield (( !CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source$this->extensions['App\Twig\AppExtension']->getUser(), "settings", [], "any"falsefalsefalse80), "canEditCandidateAccessByReceipt", [], "any"falsefalsefalse80)) ? (" style=\"display: none;\"") : (""));
  213.         yield ">
  214.                     <label>
  215.                         ";
  216.         // line 82
  217.         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"falsefalsefalse82), 'widget', ["attr" => ["class" => ""]]);
  218.         yield "
  219.                         ";
  220.         // line 83
  221.         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"falsefalsefalse83), 'label');
  222.         yield "
  223.                     </label>
  224.                 </div>
  225.                 <button class=\"btn btn-primary\" type=\"submit\">Сохранить</button>
  226.             ";
  227.         // line 88
  228.         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]);
  229.         yield "
  230.         </div>
  231.     </div>
  232. ";
  233.         
  234.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  235.         
  236.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  237.         return; yield '';
  238.     }
  239.     // line 93
  240.     public function block_addJs($context, array $blocks = [])
  241.     {
  242.         $macros $this->macros;
  243.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  244.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""addJs"));
  245.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  246.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""addJs"));
  247.         // line 94
  248.         yield "    <script>
  249.     </script>
  250. ";
  251.         
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  253.         
  254.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  255.         return; yield '';
  256.     }
  257.     /**
  258.      * @codeCoverageIgnore
  259.      */
  260.     public function getTemplateName()
  261.     {
  262.         return "admin/candidate/candidate_edit.html.twig";
  263.     }
  264.     /**
  265.      * @codeCoverageIgnore
  266.      */
  267.     public function isTraitable()
  268.     {
  269.         return false;
  270.     }
  271.     /**
  272.      * @codeCoverageIgnore
  273.      */
  274.     public function getDebugInfo()
  275.     {
  276.         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,);
  277.     }
  278.     public function getSourceContext()
  279.     {
  280.         return new Source("{% extends 'admin/base.html.twig' %}
  281. {% block title %}Кандидат{% endblock %}
  282. {% block content %}
  283.     <h1 class=\"h3 mb-2 text-gray-800\">{{ item.id ? 'Редактирование' : 'Создание' }} кандидата{{ item.id ? \" \" ~ item.person.name }}</h1>
  284.     <div class=\"card shadow mb-4 mt-4\">
  285.         <div class=\"card-header py-3\">
  286.             <h6 class=\"m-0 font-weight-bold text-primary\">Кандидат</h6>
  287.         </div>
  288.         <div class=\"card-body\">
  289.             {{ form_start(form) }}
  290.                 {{ form_row(form._token) }}
  291.                 <div class=\"form-group mt-3\">
  292.                     <label>Фото:</label>
  293.                     {% include 'components/image_input.html.twig' with { options: {
  294.                         formWidgetField: form.newImage,
  295.                         imagePath: item.image ? path('image_view', {id: item.image.id}) : null,
  296.                         required: false,
  297.                         canRemove: true,
  298.                         form: form,
  299.                         mediaType: 'image'
  300.                     } } %}
  301.                 </div>
  302.                 <div class=\"form-group\"{{ not getUser().settings.canEditCandidateAccessByReceipt ? ' style=\"display: none;\"' : '' }}>
  303.                     {{ form_label(form.comment) }}:
  304.                     {{ form_widget(form.comment, { 'attr': { 'class': 'form-control', 'rows': 2, placeholder: \"Пил травы тогда-то...\" } }) }}
  305.                 </div>
  306.                 <div class=\"form-group\"{{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}>
  307.                     {{ form_label(form.recommendations) }} (не обязательно):
  308.                     {{ form_widget(form.recommendations, { 'attr': { 'class': 'form-control', 'rows': 2, placeholder: \"Рекомендую сделать то-то...\" } }) }}
  309.                 </div>
  310.                 <div class=\"form-group\"{{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}>
  311.                     {{ form_label(form.declineComment) }} (не обязательно):
  312.                     {{ form_widget(form.declineComment, { 'attr': { 'class': 'form-control', 'rows': 2 } }) }}
  313.                 </div>
  314.                 <div class=\"form-group\"
  315. {#                        {{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}#}
  316.                 >
  317.                     {{ form_label(form.person) }}:
  318.                     {{ form_widget(form.person, { 'attr': { 'class': 'form-control' } }) }}
  319.                 </div>
  320.                 <div class=\"form-group\"
  321. {#                        {{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}#}
  322.                 >
  323.                     {{ form_label(form.calendarEvent) }}:
  324.                     {{ form_widget(form.calendarEvent, { 'attr': { 'class': 'form-control' } }) }}
  325.                 </div>
  326.                 <div class=\"form-group\"
  327.                         {{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}
  328.                 >
  329.                     {{ form_label(form.status) }}:
  330.                     {{ form_widget(form.status, { 'attr': { 'class': 'form-control' } }) }}
  331.                 </div>
  332.                 {# Поле Куратор #}
  333.                 <div class=\"form-group\"
  334. {#                        {{ not getUser().settings.canEditAllCandidateParams ? ' style=\"display: none;\"' : '' }}#}
  335.                 >
  336.                     {{ form_label(form.curator) }}:
  337.                     {{ form_widget(form.curator, { 'attr': { 'class': 'form-control' } }) }}
  338.                 </div>
  339.                 <div class=\"form-group\"{{ not getUser().settings.canEditCandidateAccessByReceipt ? ' style=\"display: none;\"' : '' }}>
  340.                     <label>
  341.                         {{ form_widget(form.accessByReceipt, { 'attr': { 'class': '' } }) }}
  342.                         {{ form_label(form.accessByReceipt) }}
  343.                     </label>
  344.                 </div>
  345.                 <div class=\"form-group\"{{ not getUser().settings.canEditCandidateAccessByReceipt ? ' style=\"display: none;\"' : '' }}>
  346.                     <label>
  347.                         {{ form_widget(form.paymentDeferment, { 'attr': { 'class': '' } }) }}
  348.                         {{ form_label(form.paymentDeferment) }}
  349.                     </label>
  350.                 </div>
  351.                 <button class=\"btn btn-primary\" type=\"submit\">Сохранить</button>
  352.             {{ form_end(form, { 'render_rest': false }) }}
  353.         </div>
  354.     </div>
  355. {% endblock %}
  356. {% block addJs %}
  357.     <script>
  358.     </script>
  359. {% endblock %}
  360. ""admin/candidate/candidate_edit.html.twig""/home/sariato/www/dev.centr.sariato.ru/templates/admin/candidate/candidate_edit.html.twig");
  361.     }
  362. }