Skip to content

Commit 2323167

Browse files
committed
add links to the forum etiquette - closes lichess-org/tavern#41
1 parent e119413 commit 2323167

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

app/views/forum/topic.scala

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ object topic {
4242
trans.toRequestSupport(
4343
strong(a(href := routes.Main.contact)(trans.tryTheContactPage()))
4444
)
45+
),
46+
p(
47+
"Make sure to read ",
48+
strong(a(href := routes.Page.loneBookmark("forum-etiquette"))("the forum etiquette"))
4549
)
4650
),
4751
postForm(cls := "form3", action := routes.ForumTopic.create(categ.slug))(
@@ -171,7 +175,13 @@ object topic {
171175
action := s"${routes.ForumPost.create(categ.slug, topic.slug, posts.currentPage)}#reply",
172176
novalidate
173177
)(
174-
form3.group(form("text"), trans.message()) { f =>
178+
form3.group(
179+
form("text"),
180+
trans.message(),
181+
help = a(dataIcon := "", cls := "text", href := routes.Page.loneBookmark("forum-etiquette"))(
182+
"Forum etiquette"
183+
).some
184+
) { f =>
175185
form3.textarea(f, klass = "post-text-area")(rows := 10, bits.dataTopic := topic.id)
176186
},
177187
views.html.base.captcha(form, captcha),

0 commit comments

Comments
 (0)