<commit_before>package views.html
package account

import lila.api.Context
import lila.app.templating.Environment._
import lila.app.ui.ScalatagsTemplate._

import controllers.routes

object reopen {

  def form(form: lila.security.RecaptchaForm[_], error: Option[String] = None)(implicit
      ctx: Context
  ) =
    views.html.base.layout(
      title = "Reopen your account",
      moreCss = cssTag("auth"),
      moreJs = views.html.base.recaptcha.script(form),
      csp = defaultCsp.withRecaptcha.some
    ) {
      main(cls := "page-small box box-pad")(
        h1("Reopen your account"),
        p(
          "If you closed your account, but have since changed your mind, you get one chance of getting your account back."
        ),
        p(strong("This will only work once.")),
        p("If you close your account a second time, there will be no way of recovering it."),
        hr,
        p(
          "Solve the chess captcha below, and we will send you an email containing a link to reopen your account."
        ),
        postForm(id := form.formId, cls := "form3", action := routes.Account.reopenApply())(<commit_msg>remove captcha help - closes #7506<commit_after>package views.html
package account

import lila.api.Context
import lila.app.templating.Environment._
import lila.app.ui.ScalatagsTemplate._

import controllers.routes

object reopen {

  def form(form: lila.security.RecaptchaForm[_], error: Option[String] = None)(implicit
      ctx: Context
  ) =
    views.html.base.layout(
      title = "Reopen your account",
      moreCss = cssTag("auth"),
      moreJs = views.html.base.recaptcha.script(form),
      csp = defaultCsp.withRecaptcha.some
    ) {
      main(cls := "page-small box box-pad")(
        h1("Reopen your account"),
        p(
          "If you closed your account, but have since changed your mind, you get one chance of getting your account back."
        ),
        p(strong("This will only work once.")),
        p("If you close your account a second time, there will be no way of recovering it."),
        hr,
        postForm(id := form.formId, cls := "form3", action := routes.Account.reopenApply())(
{'fraction_non_alphanumeric': 0.11095636025998143, 'fraction_numerical': 0.003714020427112349, 'mean_word_length': 2.855098389982111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '751813', 'n_tokens_mistral': 649, 'n_tokens_neox': 638, 'n_words': 201}