134 lines
5.8 KiB
PHP
134 lines
5.8 KiB
PHP
<?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;
|
|
|
|
/* @EasyAdmin/crud/includes/_delete_form.html.twig */
|
|
class __TwigTemplate_1d90a518dda40c1e1836d54b314ed4cb2e9f12b5143bd1c2fd5eed10b408fcf4 extends Template
|
|
{
|
|
private $source;
|
|
private $macros = [];
|
|
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->source = $this->getSourceContext();
|
|
|
|
$this->parent = false;
|
|
|
|
$this->blocks = [
|
|
];
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@EasyAdmin/crud/includes/_delete_form.html.twig"));
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@EasyAdmin/crud/includes/_delete_form.html.twig"));
|
|
|
|
// line 2
|
|
echo "<form class=\"d-none\" method=\"post\" id=\"delete-form\">
|
|
<input type=\"hidden\" name=\"token\" value=\"";
|
|
// line 3
|
|
echo twig_escape_filter($this->env, $this->extensions['EasyCorp\Bundle\EasyAdminBundle\Twig\EasyAdminTwigExtension']->renderCsrfToken("ea-delete"), "html", null, true);
|
|
echo "\" />
|
|
</form>
|
|
|
|
<div id=\"modal-delete\" class=\"modal fade\" tabindex=\"-1\">
|
|
<div class=\"modal-dialog\">
|
|
<div class=\"modal-content\">
|
|
<div class=\"modal-body\">
|
|
<h4>";
|
|
// line 10
|
|
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("delete_modal.title", [], "EasyAdminBundle"), "html", null, true);
|
|
echo "</h4>
|
|
<p>";
|
|
// line 11
|
|
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("delete_modal.content", [], "EasyAdminBundle"), "html", null, true);
|
|
echo "</p>
|
|
</div>
|
|
<div class=\"modal-footer\">
|
|
<button type=\"button\" data-bs-dismiss=\"modal\" class=\"btn btn-secondary\">
|
|
<span class=\"btn-label\">";
|
|
// line 15
|
|
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("action.cancel", [], "EasyAdminBundle"), "html", null, true);
|
|
echo "</span>
|
|
</button>
|
|
|
|
<button type=\"button\" data-bs-dismiss=\"modal\" class=\"btn btn-danger\" id=\"modal-delete-button\" form=\"delete-form\">
|
|
<span class=\"btn-label\">";
|
|
// line 19
|
|
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("action.delete", [], "EasyAdminBundle"), "html", null, true);
|
|
echo "</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
";
|
|
|
|
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
|
|
|
|
|
|
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
|
|
|
|
}
|
|
|
|
public function getTemplateName()
|
|
{
|
|
return "@EasyAdmin/crud/includes/_delete_form.html.twig";
|
|
}
|
|
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 74 => 19, 67 => 15, 60 => 11, 56 => 10, 46 => 3, 43 => 2,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("{# @var ea \\EasyCorp\\Bundle\\EasyAdminBundle\\Context\\AdminContext #}
|
|
<form class=\"d-none\" method=\"post\" id=\"delete-form\">
|
|
<input type=\"hidden\" name=\"token\" value=\"{{ ea_csrf_token('ea-delete') }}\" />
|
|
</form>
|
|
|
|
<div id=\"modal-delete\" class=\"modal fade\" tabindex=\"-1\">
|
|
<div class=\"modal-dialog\">
|
|
<div class=\"modal-content\">
|
|
<div class=\"modal-body\">
|
|
<h4>{{ 'delete_modal.title'|trans([], 'EasyAdminBundle') }}</h4>
|
|
<p>{{ 'delete_modal.content'|trans([], 'EasyAdminBundle') }}</p>
|
|
</div>
|
|
<div class=\"modal-footer\">
|
|
<button type=\"button\" data-bs-dismiss=\"modal\" class=\"btn btn-secondary\">
|
|
<span class=\"btn-label\">{{ 'action.cancel'|trans([], 'EasyAdminBundle') }}</span>
|
|
</button>
|
|
|
|
<button type=\"button\" data-bs-dismiss=\"modal\" class=\"btn btn-danger\" id=\"modal-delete-button\" form=\"delete-form\">
|
|
<span class=\"btn-label\">{{ 'action.delete'|trans([], 'EasyAdminBundle') }}</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
", "@EasyAdmin/crud/includes/_delete_form.html.twig", "/home/poule/encrypted/stockage-syncable/www/development/html/caisse/vendor/easycorp/easyadmin-bundle/src/Resources/views/crud/includes/_delete_form.html.twig");
|
|
}
|
|
}
|