2021-12-27 22:33:10 +00:00
|
|
|
{% extends 'stdgrid.html.twig' %}
|
2022-02-24 19:04:14 +00:00
|
|
|
{% import "/cards/macros/note/factory.html.twig" as NoteFactory %}
|
2021-12-27 22:33:10 +00:00
|
|
|
|
2022-03-01 11:27:19 +00:00
|
|
|
{% block title %}{% trans %}Delete note{% endtrans %}{% endblock %}
|
2021-12-27 22:33:10 +00:00
|
|
|
|
|
|
|
{% block stylesheets %}
|
2022-02-24 19:04:14 +00:00
|
|
|
{{ parent() }}
|
|
|
|
<link rel="stylesheet" href="{{ asset('assets/default_theme/feeds.css') }}" type="text/css">
|
2021-12-27 22:33:10 +00:00
|
|
|
{% endblock stylesheets %}
|
|
|
|
|
|
|
|
{% block body %}
|
2022-02-24 19:04:14 +00:00
|
|
|
{{ parent() }}
|
|
|
|
<div class="page">
|
|
|
|
<div class="main">
|
|
|
|
{% set args = { 'type': 'vanilla_full', 'note': note, 'extra': { 'depth': 0 } } %}
|
|
|
|
{{ NoteFactory.constructor(args) }}
|
|
|
|
<hr>
|
|
|
|
{{ form(delete) }}
|
2021-12-27 22:33:10 +00:00
|
|
|
</div>
|
2022-02-24 19:04:14 +00:00
|
|
|
</div>
|
2021-12-27 22:33:10 +00:00
|
|
|
{% endblock body %}
|