[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

View File

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