2021-12-01 20:13:24 +00:00
|
|
|
{% block rightpanel %}
|
|
|
|
<label class="panel-right-icon" for="panel-right-toggle" aria-hidden="true"
|
|
|
|
tabindex="-1">{{ icon('notes', 'icon icon-right') | raw }}</label>
|
|
|
|
<input type="checkbox" id="panel-right-toggle" aria-hidden="true" tabindex="-1">
|
|
|
|
|
2021-12-02 22:44:58 +00:00
|
|
|
<div class="header-panel section-panel-right">
|
2021-12-02 15:49:09 +00:00
|
|
|
<a id="anchor-right-panel" class="anchor-hidden" title="{{ 'Press tab to access selected region!' | trans }}"></a>
|
2021-12-02 22:44:58 +00:00
|
|
|
<aside class="panel-content accessibility-target">
|
2021-12-01 20:13:24 +00:00
|
|
|
|
|
|
|
{% set blocks = handle_event('AppendRightPostingBlock', request) %}
|
|
|
|
{% if blocks['post_form'] is defined %}
|
|
|
|
<section class="section-widget" title={{ 'Create a new note.' | trans }}>
|
2021-12-06 21:07:45 +00:00
|
|
|
<details class="section-widget-title-details" open="open"
|
2021-12-01 20:13:24 +00:00
|
|
|
title={{ 'Expand if you want to access more options.' | trans }}>
|
|
|
|
<summary class="section-title-summary">
|
|
|
|
{{ "Create a note" | trans }}{{ icon('arrow-down', 'icon icon-details-open') | raw }}
|
|
|
|
</summary>
|
|
|
|
|
2021-12-06 21:07:45 +00:00
|
|
|
<div class="section-form">
|
|
|
|
<fieldset>
|
|
|
|
{{ form(blocks['post_form']) }}
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</details>
|
2021-12-01 20:13:24 +00:00
|
|
|
</section>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% set current_path = app.request.get('_route') %}
|
|
|
|
{% for block in handle_event('AppendRightPanelBlock', {'path': current_path, 'vars': right_panel_vars | default }) %}
|
|
|
|
{{ block | raw }}
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</aside>
|
|
|
|
</div>
|
|
|
|
{% endblock rightpanel %}
|