12 lines
484 B
Twig
12 lines
484 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 %}
|