<?php

/* chatbot/index.html.twig */
class __TwigTemplate_5330afcffe787aa38e3cb6254f5ce4653efbf34a3180cdb9489acac49a8a00cf extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("base.html.twig", "chatbot/index.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())
    {
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 3
    public function block_body($context, array $blocks = array())
    {
        // line 4
        echo "    <div class=\"messaging\">
            <div class=\"inbox_msg\">
              <div class=\"inbox_people\">
                <div class=\"headind_srch\">
                    <div class=\"recent_heading\">
                        <h4> Mes bots </h4>
                    </div>
                </div>
                <div class=\"inbox_chat\">

                    ";
        // line 14
        if ( !twig_test_empty(($context["chatBots"] ?? null))) {
            // line 15
            echo "                        ";
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable(($context["chatBots"] ?? null));
            foreach ($context['_seq'] as $context["_key"] => $context["bot"]) {
                // line 16
                echo "                            <div class=\"chat_list\">
                                <div class=\"chat_people\">
                                    <div class=\"chat_img\"> 
                                        <img src=\"";
                // line 19
                echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\AssetExtension')->getAssetUrl("template/img/a2.jpg"), "html", null, true);
                echo "\" alt=\"bot\">
                                    </div>
                                    <div class=\"chat_ib\">
                                        <h5> ";
                // line 22
                echo twig_escape_filter($this->env, $this->getAttribute($context["bot"], "botname", array()), "html", null, true);
                echo " <span class=\"chat_date\"> ";
                echo twig_escape_filter($this->env, twig_date_format_filter($this->env, $this->getAttribute($context["bot"], "createdAt", array()), "d/m/Y"), "html", null, true);
                echo " </span></h5>
                                        <p> ";
                // line 23
                echo twig_escape_filter($this->env, $this->getAttribute($context["bot"], "description", array()), "html", null, true);
                echo " </p>
                                        <a style=\"font-size: 12px;float: right;\" href=\"";
                // line 24
                echo twig_escape_filter($this->env, $this->env->getExtension('Symfony\Bridge\Twig\Extension\RoutingExtension')->getPath("botmanager_show", array("id" => $this->getAttribute($context["bot"], "id", array()))), "html", null, true);
                echo "\"> G&eacute;rer</a>
                                        
                                    </div>
                                </div>
                            </div>
                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['bot'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 30
            echo "                    ";
        }
        // line 31
        echo "                </div>
              </div>
              <div class=\"mesgs\" style=\"padding-top: 0px;\">
                    <div class=\"heading\" style=\"border-bottom: solid 1px silver;\">
                        <h3> Nouveau chatbot</h3>
                    </div>
                    <br/>
                    ";
        // line 38
        echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_start');
        echo "
                        ";
        // line 39
        echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(($context["form"] ?? null), 'widget');
        echo "                        
                        <div class=\"col-md-12\">
                            <button class=\"btn btn-success\"> Enregistrer </button>                            
                        </div>
                    ";
        // line 43
        echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock(($context["form"] ?? null), 'form_end');
        echo "
                
              </div>
            </div>
            
            
            <p class=\"text-center top_spac\"> Design by <a target=\"_blank\" href=\"#\">Sunil Rajput</a></p>
            
      </div>
";
    }

    public function getTemplateName()
    {
        return "chatbot/index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  106 => 43,  99 => 39,  95 => 38,  86 => 31,  83 => 30,  71 => 24,  67 => 23,  61 => 22,  55 => 19,  50 => 16,  45 => 15,  43 => 14,  31 => 4,  28 => 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("", "chatbot/index.html.twig", "/home/smspnbgj/dynamic-form.smspro.tg/chatbot-manager/app/Resources/views/chatbot/index.html.twig");
    }
}
