title: Symfony2, Twig, change twig after include
body: <p>I have such hierarchy of twig files</p>
  
  <p>my main (for controller) twig</p>
  
  <pre><code>{% extends "MainSiteBundle::layout.html.twig" %}
  
  {% block footer_moderator_buttons %}
      some buttons
  {% endblock %}
  
  {% block content_body %}
      &lt;p&gt;hello moderator&lt;/p&gt;
  
      {{ include ('MainBlogBundle:_parts:postList.html.twig', {'postList': aPostDraft}) }}
  
  {% endblock %}
  </code></pre>
  
  <p><strong>postList.html.twig</strong></p>
  
  <pre><code>&lt;div class="post-list"&gt;
  {% for postSingle in postList %}
      {{ include ('MainBlogBundle:_parts:postSingle.html.twig', {'postSingle': postSingle}) }}
  {% endfor %}
  &lt;/div&gt;
  </code></pre>
  
  <p><strong>postSingle.html.twig</strong></p>
  
  <pre><code>&lt;div class="post"&gt;
      &lt;div class="post-header"&gt;
          &lt;a class="title" href="3"&gt;{{ postSingle.title }}&lt;/a&gt;
      &lt;/div&gt;
      &lt;div class="post-meta"&gt;
          &lt;div&gt;Date: {{ postSingle.date|date('D M Y') }}&lt;/div&gt;
          &lt;div&gt;Category: &lt;a href="#"&gt;{{ postSingle.getCategory.getTitle }}&lt;/a&gt;&lt;/div&gt;
          &lt;div&gt;Author: &lt;a href="#"&gt;{{ postSingle.getUser.username }}&lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="post-body"&gt;
          &lt;div class="content"&gt;
              &lt;img width="450" height="200" src="#"&gt;
              &lt;div class="text"&gt;{{ postSingle.content }}&lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="post-footer"&gt;
          {% block footer_moderator_buttons %}f{% endblock %}
          &lt;div&gt;Views: 152&lt;/div&gt;
          &lt;div&gt;Comments: 1231&lt;/div&gt;
          &lt;div&gt;
              &lt;a class="link" href="#"&gt;More... &lt;/a&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>As you can see last (postSingle.html.twig) has block "footer_moderator_buttons", <strong><em>so how can i change it from main twig</em></strong> (first one) ? Current is not working, what I need change \ do ?</p>