Made document editing possible
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{% extends '::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', { documentSlug: document.slug }) }}">Szerkesztés</a> ] {% endif %}
|
||||
</h3>
|
||||
{{ document.content|raw }}
|
||||
<div class="szerzo">{{ document.createdBy.displayName }}</div>
|
||||
{% endblock content %}
|
Reference in New Issue
Block a user