Skip to content

Commit

Permalink
add links to the forum etiquette - closes lichess-org/tavern#41
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Mar 2, 2021
1 parent e119413 commit 2323167
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/views/forum/topic.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ object topic {
trans.toRequestSupport(
strong(a(href := routes.Main.contact)(trans.tryTheContactPage()))
)
),
p(
"Make sure to read ",
strong(a(href := routes.Page.loneBookmark("forum-etiquette"))("the forum etiquette"))
)
),
postForm(cls := "form3", action := routes.ForumTopic.create(categ.slug))(
Expand Down Expand Up @@ -171,7 +175,13 @@ object topic {
action := s"${routes.ForumPost.create(categ.slug, topic.slug, posts.currentPage)}#reply",
novalidate
)(
form3.group(form("text"), trans.message()) { f =>
form3.group(
form("text"),
trans.message(),
help = a(dataIcon := "", cls := "text", href := routes.Page.loneBookmark("forum-etiquette"))(
"Forum etiquette"
).some
) { f =>
form3.textarea(f, klass = "post-text-area")(rows := 10, bits.dataTopic := topic.id)
},
views.html.base.captcha(form, captcha),
Expand Down

0 comments on commit 2323167

Please sign in to comment.