Current File : //var/www/prestashop/var/cache/prod/twig/f8/f81d7d92f0c9986533868bef4aecfd15.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;
/* @PrestaShop/Admin/Configure/AdvancedParameters/Webservice/Blocks/form.html.twig */
class __TwigTemplate_3cc0abfc08b75c09e4183ab4c77e81aa extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'webservice_key_form' => [$this, 'block_webservice_key_form'],
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 25
echo "
";
// line 26
$this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(($context["webserviceKeyForm"] ?? null), [0 => "@PrestaShop/Admin/TwigTemplateForm/prestashop_ui_kit.html.twig"], true);
// line 27
echo "
";
// line 28
$this->displayBlock('webservice_key_form', $context, $blocks);
}
public function block_webservice_key_form($context, array $blocks = [])
{
$macros = $this->macros;
// line 29
echo " ";
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["webserviceKeyForm"] ?? null), 'form_start');
echo "
<div class=\"card\">
<h3 class=\"card-header\">
";
// line 32
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Webservice Accounts", [], "Admin.Advparameters.Feature"), "html", null, true);
echo "
</h3>
<div class=\"card-body\">
<div class=\"form-wrapper\">
";
// line 36
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["webserviceKeyForm"] ?? null), "key", [], "any", false, false, false, 36), 'row');
echo "
";
// line 37
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["webserviceKeyForm"] ?? null), "description", [], "any", false, false, false, 37), 'row');
echo "
";
// line 38
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, ($context["webserviceKeyForm"] ?? null), "status", [], "any", false, false, false, 38), 'row');
echo "
<div class=\"form-group row mb-0\">
<label class=\"form-control-label\"></label>
<div class=\"col-sm mb-0\">
<div class=\"alert alert-info\" role=\"alert\">
<p class=\"alert-text\">";
// line 43
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Set the resource permissions for this key:", [], "Admin.Advparameters.Feature"), "html", null, true);
echo "</p>
</div>
</div>
</div>
";
// line 47
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["webserviceKeyForm"] ?? null), 'widget');
echo "
</div>
</div>
<div class=\"card-footer\">
<a href=\"";
// line 51
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_webservice_keys_index");
echo "\" class=\"btn btn-outline-secondary\">
";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Cancel", [], "Admin.Actions"), "html", null, true);
echo "
</a>
<button class=\"btn btn-primary float-right\" id=\"save-button\">
";
// line 55
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Save", [], "Admin.Actions"), "html", null, true);
echo "
</button>
</div>
</div>
";
// line 59
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["webserviceKeyForm"] ?? null), 'form_end');
echo "
";
}
public function getTemplateName()
{
return "@PrestaShop/Admin/Configure/AdvancedParameters/Webservice/Blocks/form.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 114 => 59, 107 => 55, 101 => 52, 97 => 51, 90 => 47, 83 => 43, 75 => 38, 71 => 37, 67 => 36, 60 => 32, 53 => 29, 46 => 28, 43 => 27, 41 => 26, 38 => 25,);
}
public function getSourceContext()
{
return new Source("", "@PrestaShop/Admin/Configure/AdvancedParameters/Webservice/Blocks/form.html.twig", "/var/www/prestashop/src/PrestaShopBundle/Resources/views/Admin/Configure/AdvancedParameters/Webservice/Blocks/form.html.twig");
}
}