[TWIG] Making notes view more easily customizable
This commit is contained in:
parent
a7744351dd
commit
0649095e88
@ -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">
|
||||||
|
Loading…
Reference in New Issue
Block a user