Browse Source

Editor error fix, nicer

imwald
Nuša Pukšič 4 months ago
parent
commit
9cb8061bea
  1. 6
      templates/pages/editor.html.twig

6
templates/pages/editor.html.twig

@ -13,9 +13,11 @@ @@ -13,9 +13,11 @@
{% block body %}
<div class="w-container">
<div class="notice">
Log in is required to post articles.
{% if not is_granted('ROLE_USER') %}
<div class="notice info">
<p>Log in is required to post articles.</p>
</div>
{% endif %}
<div {{ stimulus_controller('nostr-publish', {
publishUrl: path('api-article-publish'),
csrfToken: csrf_token('nostr_publish')

Loading…
Cancel
Save