Retrospring/app/views/devise/registrations/new.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
973 B
Plaintext
Raw Normal View History

2022-02-05 10:28:21 -08:00
- provide(:title, generate_title(t(".title")))
2014-08-01 06:27:08 -07:00
.container
2020-05-06 12:56:10 -07:00
.row
.col-sm-8.offset-sm-2
.card.mt-3
.card-body
2022-02-05 10:28:21 -08:00
%h1= t(".title")
2023-10-17 12:48:49 -07:00
= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name), data: { turbo: false }) do |f|
2022-02-05 10:28:21 -08:00
= render "devise/shared/error_messages", resource: resource
= render "layouts/messages"
2014-08-01 06:27:08 -07:00
= f.text_field :screen_name, autofocus: true, autocomplete: :username
= f.email_field :email, autofocus: false, autocomplete: :email
= f.password_field :password, autocomplete: "new-password"
= f.password_field :password_confirmation, autocomplete: "new-password"
2014-08-01 06:27:08 -07:00
2020-05-22 13:42:10 -07:00
- if APP_CONFIG.dig(:hcaptcha, :enabled)
2022-07-09 03:40:20 -07:00
= hcaptcha_tags theme: :light
2020-05-22 13:29:22 -07:00
2022-02-05 10:28:21 -08:00
%p= raw t(".info", terms: link_to(t("voc.terms"), terms_path))
= f.primary
2014-08-01 06:27:08 -07:00
2022-02-05 10:28:21 -08:00
= render "devise/shared/links"
= render "shared/links"