Files
ubicloud/views/auth/create_account.erb
Enes Cakir 6560f485f2 Add privacy policy link to the login and registration pages
Google requires you to provide a privacy policy on the page used for the
"Login with Google" option.
2025-01-20 12:30:30 +03:00

33 lines
963 B
Plaintext

<% @page_title = "Create Account" %>
<% @page_message = "Create a new account" %>
<form class="rodauth space-y-6" role="form" method="POST">
<%== rodauth.create_account_additional_form_tags %>
<%== rodauth.csrf_tag %>
<%== render(
"components/form/text",
locals: {
name: "name",
label: "Full Name",
attributes: {
required: true,
autocomplete: "name"
}
}
) %>
<%== render("components/rodauth/login_field") %>
<%== render("components/rodauth/password_field") %>
<%== render("components/rodauth/password_field", locals: {confirm: true}) %>
<%== render("components/form/cloudflare_turnstile") %>
<div class="flex flex-col text-center">
<%== render("components/form/submit_button", locals: { text: "Create Account" }) %>
<a href="/login" class="mt-2 text-sm font-semibold leading-6 text-gray-900">Sign in to existing account</a>
</div>
</form>
<%== render("auth/social_buttons") %>