From 4c1d12b2e4a806692c37f18957cba52ce433bc1e Mon Sep 17 00:00:00 2001 From: erik Date: Tue, 19 Mar 2024 13:52:00 +0100 Subject: [PATCH] Use textarea as we expect lots of input --- templates/repo/settings/options.tmpl | 44 +++++++++++++--------------- 1 file changed, 20 insertions(+), 24 deletions(-) diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 10d863951e..8961f7926e 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -63,30 +63,26 @@ - {{if FederationEnabled}} -

- {{ctx.Locale.Tr "repo.settings.federation_settings"}} -

-
-
- {{.CsrfTokenHtml}} - - - -
- - -
-
- -
-
- - -
-
-
- {{end}} + {{if FederationEnabled}} +

+ {{ctx.Locale.Tr "repo.settings.federation_settings"}} +

+
+
+ {{.CsrfTokenHtml}} + + + +
+ + +
+
+ +
+
+
+ {{end}} {{/* These variables exist to make the logic in the Settings window easier to comprehend and are not used later on. */}}