{% set args = { 'type': 'vanilla_full', 'note': note, 'extra': { 'depth': 0 } } %}
{{ NoteFactory.constructor(args) }}
{{ form(remove_favourite) }}
{% extends 'stdgrid.html.twig' %} {% import "/cards/macros/note/factory.html.twig" as NoteFactory %} {% block title %}{{ 'Remove favourite from ' | trans }}{{ note.getActorNickname() }}{{ '\'s note.' | trans }}{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock stylesheets %} {% block body %} {{ parent() }}