[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 ebf6f8d735
commit c423101c00

View File

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