<?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;
/* Slivki/admin/offers/geo_location_item.html.twig */
class __TwigTemplate_c3041fa55f92b4d95fc4e91524c76b64c30e7c999fa5ed9fa80aa178318161e7 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", "Slivki/admin/offers/geo_location_item.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Slivki/admin/offers/geo_location_item.html.twig"));
// line 1
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["geoLocation"]) {
// line 2
echo " <tr data-id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getID", [], "method", false, false, false, 2), "html", null, true);
echo "\">
<td class=\"city\">";
// line 3
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getCity", [], "method", false, false, false, 3), "html", null, true);
echo "</td>
<td class=\"street\">";
// line 4
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getStreet", [], "method", false, false, false, 4), "html", null, true);
echo "</td>
<td class=\"house\">";
// line 5
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["geoLocation"], "getHouse", [], "method", false, false, false, 5), "html", null, true);
echo "</td>
<td>
<a class=\"edit-offer-address-edit\" href=\"javascript:void(0)\" title=\"Редактировать\">
<i class=\"fa fa-edit text-yellow\"></i>
</a>
</td>
<td>
<a class=\"edit-offer-address-remove\" href=\"javascript:void(0)\" title=\"Удалить\">
<i class=\"fa fa-remove text-red\"></i>
</a>
</td>
</tr>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['geoLocation'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "Slivki/admin/offers/geo_location_item.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 60 => 5, 56 => 4, 52 => 3, 47 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% for geoLocation in geoLocations %}
<tr data-id=\"{{ geoLocation.getID() }}\">
<td class=\"city\">{{ geoLocation.getCity() }}</td>
<td class=\"street\">{{ geoLocation.getStreet() }}</td>
<td class=\"house\">{{ geoLocation.getHouse() }}</td>
<td>
<a class=\"edit-offer-address-edit\" href=\"javascript:void(0)\" title=\"Редактировать\">
<i class=\"fa fa-edit text-yellow\"></i>
</a>
</td>
<td>
<a class=\"edit-offer-address-remove\" href=\"javascript:void(0)\" title=\"Удалить\">
<i class=\"fa fa-remove text-red\"></i>
</a>
</td>
</tr>
{% endfor %}", "Slivki/admin/offers/geo_location_item.html.twig", "/mnt/data/virtwww/test1/templates/Slivki/admin/offers/geo_location_item.html.twig");
}
}