The note "The fields Name and Comment are mandatory fields." should not be displayed if the admin is logged in.
This commit is contained in:
Frank Hochmuth 2024-04-07 03:52:53 +02:00 committed by GitHub
parent 8d7fc6fe85
commit 662065654d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,8 @@
{if !$entry_commslock} {if !$entry_commslock}
<h4 id="addcomment">{$lang.comments.head}</h4> <h4 id="addcomment">{$lang.comments.head}</h4>
{if not $flatpress.loggedin}
<p>{$lang.comments.descr}</p> <p>{$lang.comments.descr}</p>
{/if}
<form id="commentform" method="post" <form id="commentform" method="post"
action="{$flatpress.params.entry|link:comments_link}#commentform" action="{$flatpress.params.entry|link:comments_link}#commentform"