Gergely POLONKAI 8d27d0c290 Moved main_template.html.twig into KekRozsakFrontBundle
Logical reasons.

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
2012-08-15 12:31:02 +02:00

12 lines
481 B
Twig

{# vim: ft=htmljinja
#}
{% extends 'KekRozsakFrontBundle:Default:main_template.html.twig' %}
{% block title %} - Dokumentum - {{ document.title }}{% endblock %}
{% block content %}
<h3>
{{ document.title }}{% if document.createdBy == app.user %} [ <a href="{{ path('KekRozsakFrontBundle_documentEdit', {slug: document.slug}) }}">Szerkesztés</a> ] {% endif %}
</h3>
{{ document.content|raw }}
<div class="szerzo">{{ document.createdBy|userdataspan }}</div>
{% endblock content %}