{# example of other page extending the company base template #}
{% extends 'CompanyBaseBundle:Default:index.html.twig' %}

{% block css_import %}
{{ parent() }}
{% render "WikiTagBundle:WikiTag:addCss" %}
{% endblock %}

{% block js_declaration %}
{{ parent() }}
{% render "WikiTagBundle:WikiTag:addJavascript" with {'profile_name': 'editor'} %}
{% render "WikiTagBundle:WikiTag:addJavascriptForContextSearch" with {'context_name': "only_p"} %}
{% endblock %}

{% block content %}
<div id="content" class="span-24 last">
  <div id="inner_content">
    <div class="complete_sheet">
      <div class="left_sheet">
        <p><b>HERE ARE THE INFORMATIONS ABOUT A DOCUMENT</b><br/></p>
        <p><b>doc id</b><br/>{{doc.id}}</p>
        <p id="p_title"><b>Titre</b><br><span class="sheet_title">{{doc.title}}</span></p>
        <p id="p_description"><b>Description</b><br/>{{doc.description}}</p>
      </div>
      <div class="right_sheet">
        <p style="float:right;"><a href="{{ url('document_with_tags', { 'idDoc': (doc.id-1) }) }}">&nbsp;&lt;&nbsp;</a> - <a href="{{ url('document_with_tags', { 'idDoc': (doc.id+1) }) }}">&nbsp;&gt;&nbsp;</a></p>
        {% render "WikiTagBundle:WikiTag:documentTags" with {'id_doc': doc.id, 'profile_name': 'editor'} %}
        {% include 'WikiTagBundle:WikiTag:contextSearchDiv.html.twig' %}
      </div>
    </div>
  </div>
</div>
{% endblock %}