[TWIG] Making notes view more easily customizable

This commit is contained in:
rainydaysavings 2020-09-04 19:19:03 +01:00 committed by Hugo Sales
parent a7744351dd
commit 0649095e88
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
1 changed files with 5 additions and 6 deletions

View File

@ -15,12 +15,11 @@
</div>
<div class="note-actions">
{% for act in get_note_actions(note) %}
<div>
<svg class="icon icon-heart">
<use xlink:href="#icon-heart"></use>
</svg>
{{ form(act) }}
</div>
{{ form_start(act) }}
<div>
{{ form_widget(act) }}
</div>
{{ form_end(act) }}
{% endfor %}
<a href="{{ path('note_reply', {'reply_to': note.getId()}) }}">
<svg class="icon icon-reply">