<?php

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

        // line 1
        $this->parent = $this->loadTemplate("base.html.twig", ":charity:edit.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_32a9e92e795a840e76900798d08d23706452c7faa5ea988f17e22cab82675aed = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
        $__internal_32a9e92e795a840e76900798d08d23706452c7faa5ea988f17e22cab82675aed->enter($__internal_32a9e92e795a840e76900798d08d23706452c7faa5ea988f17e22cab82675aed_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", ":charity:edit.html.twig"));

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

        $this->parent->display($context, array_merge($this->blocks, $blocks));
        
        $__internal_32a9e92e795a840e76900798d08d23706452c7faa5ea988f17e22cab82675aed->leave($__internal_32a9e92e795a840e76900798d08d23706452c7faa5ea988f17e22cab82675aed_prof);

        
        $__internal_d0318017780f99ef397d0c118b4cfcc6e7bba5b94a2d2c3b0ad50e70b8dab689->leave($__internal_d0318017780f99ef397d0c118b4cfcc6e7bba5b94a2d2c3b0ad50e70b8dab689_prof);

    }

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

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

        // line 4
        echo "    <h1>Charity edit</h1>

    ";
        // line 6
        echo         $this->env->getRuntime('Symfony\Bridge\Twig\Form\TwigRenderer')->renderBlock(($context["edit_form"] ?? $this->getContext($context, "edit_form")), 'form_start');
        echo "
        ";
        // line 7
        echo $this->env->getRuntime('Symfony\Bridge\Twig\Form\TwigRenderer')->searchAndRenderBlock(($context["edit_form"] ?? $this->getContext($context, "edit_form")), 'widget');
        echo "
        <input type=\"submit\" value=\"Edit\" />
    ";
        // line 9
        echo         $this->env->getRuntime('Symfony\Bridge\Twig\Form\TwigRenderer')->renderBlock(($context["edit_form"] ?? $this->getContext($context, "edit_form")), 'form_end');
        echo "

    <ul>
        <li>
            <a href=\"";
        // line 13
        echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("charity_index");
        echo "\">Back to the list</a>
        </li>
        <li>
            ";
        // line 16
        echo         $this->env->getRuntime('Symfony\Bridge\Twig\Form\TwigRenderer')->renderBlock(($context["delete_form"] ?? $this->getContext($context, "delete_form")), 'form_start');
        echo "
                <input type=\"submit\" value=\"Delete\">
            ";
        // line 18
        echo         $this->env->getRuntime('Symfony\Bridge\Twig\Form\TwigRenderer')->renderBlock(($context["delete_form"] ?? $this->getContext($context, "delete_form")), 'form_end');
        echo "
        </li>
    </ul>
";
        
        $__internal_da62b9275341db987e4db3566094ca7a3ca3c020eb10f8a9e88006b35722362a->leave($__internal_da62b9275341db987e4db3566094ca7a3ca3c020eb10f8a9e88006b35722362a_prof);

        
        $__internal_a17cc64ddb900cbdc049ab31b3e8e20c3e44bd09f944e7bc294ac8fcb00b8ac2->leave($__internal_a17cc64ddb900cbdc049ab31b3e8e20c3e44bd09f944e7bc294ac8fcb00b8ac2_prof);

    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  80 => 18,  75 => 16,  69 => 13,  62 => 9,  57 => 7,  53 => 6,  49 => 4,  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 %}
    <h1>Charity edit</h1>

    {{ form_start(edit_form) }}
        {{ form_widget(edit_form) }}
        <input type=\"submit\" value=\"Edit\" />
    {{ form_end(edit_form) }}

    <ul>
        <li>
            <a href=\"{{ path('charity_index') }}\">Back to the list</a>
        </li>
        <li>
            {{ form_start(delete_form) }}
                <input type=\"submit\" value=\"Delete\">
            {{ form_end(delete_form) }}
        </li>
    </ul>
{% endblock %}
", ":charity:edit.html.twig", "/var/www/govhack17_donate/app/Resources/views/charity/edit.html.twig");
    }
}
