<?php

/* :charity:qr.html.twig */
class __TwigTemplate_252418a3d84e751e88925b3fcada82a2d2fc30ee2a5d9a7cd73fd76ee8553055 extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("base.html.twig", ":charity:qr.html.twig", 1);
        $this->blocks = array(
            'body' => array($this, 'block_body'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        $__internal_db9470701f6f6e5d9e6723b8b09e5f915c1af2981e97bf25a0ae20c406a30e6e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
        $__internal_db9470701f6f6e5d9e6723b8b09e5f915c1af2981e97bf25a0ae20c406a30e6e->enter($__internal_db9470701f6f6e5d9e6723b8b09e5f915c1af2981e97bf25a0ae20c406a30e6e_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", ":charity:qr.html.twig"));

        $__internal_8023c4ed8009b9b37e40f7dc19111810e191feb647f49df68b290e26f1a0e7f8 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_8023c4ed8009b9b37e40f7dc19111810e191feb647f49df68b290e26f1a0e7f8->enter($__internal_8023c4ed8009b9b37e40f7dc19111810e191feb647f49df68b290e26f1a0e7f8_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", ":charity:qr.html.twig"));

        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_db9470701f6f6e5d9e6723b8b09e5f915c1af2981e97bf25a0ae20c406a30e6e->leave($__internal_db9470701f6f6e5d9e6723b8b09e5f915c1af2981e97bf25a0ae20c406a30e6e_prof);

        
        $__internal_8023c4ed8009b9b37e40f7dc19111810e191feb647f49df68b290e26f1a0e7f8->leave($__internal_8023c4ed8009b9b37e40f7dc19111810e191feb647f49df68b290e26f1a0e7f8_prof);

    }

    // line 3
    public function block_body($context, array $blocks = array())
    {
        $__internal_dc8db7f4ad62036fa76aa351d5ab23c6a50bbfee92a22350dec2363ddc1884ee = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
        $__internal_dc8db7f4ad62036fa76aa351d5ab23c6a50bbfee92a22350dec2363ddc1884ee->enter($__internal_dc8db7f4ad62036fa76aa351d5ab23c6a50bbfee92a22350dec2363ddc1884ee_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));

        $__internal_38f03a770d4ada30a526217a8800decae1362f609ecfd755ae42e05f83a619c7 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
        $__internal_38f03a770d4ada30a526217a8800decae1362f609ecfd755ae42e05f83a619c7->enter($__internal_38f03a770d4ada30a526217a8800decae1362f609ecfd755ae42e05f83a619c7_prof = new Twig_Profiler_Profile($this->getTemplateName(), "block", "body"));

        // line 5
        echo "
<div class=\"container\">
    <div class=\"qr center\">
        <img src=\"";
        // line 8
        echo twig_escape_filter($this->env, $this->env->getExtension('Endroid\QrCode\Twig\Extension\QrCodeExtension')->qrCodeUrlFunction(($context["url_path"] ?? $this->getContext($context, "url_path"))), "html", null, true);
        echo "\" />
        ";
        // line 10
        echo "    </div>

    <h2 class=\"center\">";
        // line 12
        echo twig_escape_filter($this->env, $this->getAttribute(($context["charity"] ?? $this->getContext($context, "charity")), "name", array()), "html", null, true);
        echo "</h2>
    <h4 class=\"center\">";
        // line 13
        echo twig_escape_filter($this->env, $this->getAttribute(($context["charity"] ?? $this->getContext($context, "charity")), "description", array()), "html", null, true);
        echo "</h4>

    <!--Button-->
    <div class=\"center spacer\">
        <a href=\"";
        // line 17
        echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("charity_download_qr", array("id" => $this->getAttribute(($context["charity"] ?? $this->getContext($context, "charity")), "id", array()))), "html", null, true);
        echo "\" class=\"waves-effect waves-light btn-large\"><i class=\"material-icons right\">cloud_download</i>Download</a>
    </div>
</div>


";
        
        $__internal_38f03a770d4ada30a526217a8800decae1362f609ecfd755ae42e05f83a619c7->leave($__internal_38f03a770d4ada30a526217a8800decae1362f609ecfd755ae42e05f83a619c7_prof);

        
        $__internal_dc8db7f4ad62036fa76aa351d5ab23c6a50bbfee92a22350dec2363ddc1884ee->leave($__internal_dc8db7f4ad62036fa76aa351d5ab23c6a50bbfee92a22350dec2363ddc1884ee_prof);

    }

    public function getTemplateName()
    {
        return ":charity:qr.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  73 => 17,  66 => 13,  62 => 12,  58 => 10,  54 => 8,  49 => 5,  40 => 3,  11 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source(" {% extends 'base.html.twig' %}

{% block body %}
{#{{ dump(url_path) }}#}

<div class=\"container\">
    <div class=\"qr center\">
        <img src=\"{{ qrcode_url(url_path) }}\" />
        {#<img src=\"\">#}
    </div>

    <h2 class=\"center\">{{charity.name}}</h2>
    <h4 class=\"center\">{{charity.description}}</h4>

    <!--Button-->
    <div class=\"center spacer\">
        <a href=\"{{ path('charity_download_qr',{'id':charity.id}) }}\" class=\"waves-effect waves-light btn-large\"><i class=\"material-icons right\">cloud_download</i>Download</a>
    </div>
</div>


{% endblock %}


", ":charity:qr.html.twig", "/var/www/govhack17_donate/app/Resources/views/charity/qr.html.twig");
    }
}
