var/cache/dev/twig/df/df4673f54f9e8365f07282e9c63b9a0401d4a07142c47ec48811ac4c9ada87fa.php line 33

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Slivki/admin/offers/geo_location_item.html.twig */
  14. class __TwigTemplate_c3041fa55f92b4d95fc4e91524c76b64c30e7c999fa5ed9fa80aa178318161e7 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/admin/offers/geo_location_item.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/admin/offers/geo_location_item.html.twig"));
  33.         // line 1
  34.         $context['_parent'] = $context;
  35.         $context['_seq'] = twig_ensure_traversable((isset($context["geoLocations"]) || array_key_exists("geoLocations"$context) ? $context["geoLocations"] : (function () { throw new RuntimeError('Variable "geoLocations" does not exist.'1$this->source); })()));
  36.         foreach ($context['_seq'] as $context["_key"] => $context["geoLocation"]) {
  37.             // line 2
  38.             echo "    <tr data-id=\"";
  39.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["geoLocation"], "getID", [], "method"falsefalsefalse2), "html"nulltrue);
  40.             echo "\">
  41.         <td class=\"city\">";
  42.             // line 3
  43.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["geoLocation"], "getCity", [], "method"falsefalsefalse3), "html"nulltrue);
  44.             echo "</td>
  45.         <td class=\"street\">";
  46.             // line 4
  47.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["geoLocation"], "getStreet", [], "method"falsefalsefalse4), "html"nulltrue);
  48.             echo "</td>
  49.         <td class=\"house\">";
  50.             // line 5
  51.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["geoLocation"], "getHouse", [], "method"falsefalsefalse5), "html"nulltrue);
  52.             echo "</td>
  53.         <td>
  54.             <a class=\"edit-offer-address-edit\" href=\"javascript:void(0)\" title=\"Редактировать\">
  55.                 <i class=\"fa fa-edit text-yellow\"></i>
  56.             </a>
  57.         </td>
  58.         <td>
  59.             <a class=\"edit-offer-address-remove\" href=\"javascript:void(0)\" title=\"Удалить\">
  60.                 <i class=\"fa fa-remove text-red\"></i>
  61.             </a>
  62.         </td>
  63.     </tr>
  64. ";
  65.         }
  66.         $_parent $context['_parent'];
  67.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['geoLocation'], $context['_parent'], $context['loop']);
  68.         $context array_intersect_key($context$_parent) + $_parent;
  69.         
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  71.         
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  73.     }
  74.     public function getTemplateName()
  75.     {
  76.         return "Slivki/admin/offers/geo_location_item.html.twig";
  77.     }
  78.     public function isTraitable()
  79.     {
  80.         return false;
  81.     }
  82.     public function getDebugInfo()
  83.     {
  84.         return array (  60 => 5,  56 => 4,  52 => 3,  47 => 2,  43 => 1,);
  85.     }
  86.     public function getSourceContext()
  87.     {
  88.         return new Source("{% for geoLocation in geoLocations %}
  89.     <tr data-id=\"{{ geoLocation.getID() }}\">
  90.         <td class=\"city\">{{ geoLocation.getCity() }}</td>
  91.         <td class=\"street\">{{ geoLocation.getStreet() }}</td>
  92.         <td class=\"house\">{{ geoLocation.getHouse() }}</td>
  93.         <td>
  94.             <a class=\"edit-offer-address-edit\" href=\"javascript:void(0)\" title=\"Редактировать\">
  95.                 <i class=\"fa fa-edit text-yellow\"></i>
  96.             </a>
  97.         </td>
  98.         <td>
  99.             <a class=\"edit-offer-address-remove\" href=\"javascript:void(0)\" title=\"Удалить\">
  100.                 <i class=\"fa fa-remove text-red\"></i>
  101.             </a>
  102.         </td>
  103.     </tr>
  104. {% endfor %}""Slivki/admin/offers/geo_location_item.html.twig""/mnt/data/virtwww/test1/templates/Slivki/admin/offers/geo_location_item.html.twig");
  105.     }
  106. }