From 6dd994935deb5cf988642d37348f6803a68683d4 Mon Sep 17 00:00:00 2001
From: Jonas Kohl
Date: Tue, 10 Dec 2024 10:56:44 +0100
Subject: Fix small bugs

---
 src/application/templates/bootstrap-3/register.twig   | 4 ++--
 src/application/templates/bootstrap-3/view_topic.twig | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/application/templates/bootstrap-3')

diff --git a/src/application/templates/bootstrap-3/register.twig b/src/application/templates/bootstrap-3/register.twig
index 1e4cd92..96d6b58 100644
--- a/src/application/templates/bootstrap-3/register.twig
+++ b/src/application/templates/bootstrap-3/register.twig
@@ -25,8 +25,8 @@
         </div>
 
         <div class="form-group" id="group1">
-            <label for="i_username">{{ __("Username:") }}</label>
-            <input class="form-control" id="i_username" type="text" name="df82a9bc21" value="{{ lastFormField(formId, "df82a9bc21") }}" required autofocus>
+            <label for="i_df82a9bc21">{{ __("Username:") }}</label>
+            <input class="form-control" id="i_df82a9bc21" type="text" name="df82a9bc21" value="{{ lastFormField(formId, "df82a9bc21") }}" required autofocus>
         </div>
 
         <div class="form-group" id="group2">
diff --git a/src/application/templates/bootstrap-3/view_topic.twig b/src/application/templates/bootstrap-3/view_topic.twig
index 0344fe4..383dd41 100644
--- a/src/application/templates/bootstrap-3/view_topic.twig
+++ b/src/application/templates/bootstrap-3/view_topic.twig
@@ -286,6 +286,7 @@ $(function() {
             post: item.post,
             postAuthor: item.postAuthor,
             topic: item.topic,
+            topicAuthor: item.topicAuthor,
             attachments: item.attachments,
             hide_actions: false,
             hide_pfp: false,
-- 
cgit v1.2.3