diff options
author | Jonas Kohl | 2024-09-18 23:05:35 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-18 23:05:35 +0200 |
commit | 01454544896827113e49db0d2848b5aab6ce14ae (patch) | |
tree | 9487c3d45a04d350bca2ed8401a797ed69cd7e8a /src/application/views/form_addpost.php | |
parent | a65d424263adfbff9629c7d91a613e4504c84613 (diff) |
Many changes
Diffstat (limited to 'src/application/views/form_addpost.php')
-rw-r--r-- | src/application/views/form_addpost.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/application/views/form_addpost.php b/src/application/views/form_addpost.php index 33b7281..2de44c5 100644 --- a/src/application/views/form_addpost.php +++ b/src/application/views/form_addpost.php @@ -10,11 +10,12 @@ RequestUtils::clearLastForm(); ?> <h3 id="form"><?= __("Reply to this topic") ?></h3> <?php -if (($_formError = RequestUtils::getAndClearFormError()) !== null) { +if (($_formError = RequestUtils::getAndClearFormError("addpost")) !== null) { _view("alert_error", ["message" => $_formError]); } ?> <form action="<?= htmlentities($_SERVER["REQUEST_URI"]) ?>#form" method="post" enctype="multipart/form-data"> +<input type="hidden" name="form_id" value="addpost"> <div class="form-group"> <label for="i_message"><?= __("Message:") ?></label> <textarea class="form-control" id="i_message" name="message" required rows="12" cols="60" style="resize:vertical;max-height:499px"></textarea> |