Vocab: Sign up -> Register

This commit is contained in:
Harshad Sharma 2024-05-13 19:54:06 +05:30
parent 8b9088797a
commit ca74091335
2 changed files with 4 additions and 4 deletions

View file

@ -34,9 +34,9 @@ defmodule FreediveWeb.UserLoginLive do
<.block>
Don't have an account?
<.link navigate={~p"/users/register"} class="font-semibold text-brand hover:underline">
Sign up
Register
</.link>
for an account now.
an account now.
</.block>
</:actions>
</.simple_form>

View file

@ -9,7 +9,7 @@ defmodule FreediveWeb.UserLoginLiveTest do
{:ok, _lv, html} = live(conn, ~p"/users/log_in")
assert html =~ "Log in"
assert html =~ "Sign up"
assert html =~ "Register"
assert html =~ "Forgot your password?"
end
@ -63,7 +63,7 @@ defmodule FreediveWeb.UserLoginLiveTest do
{:ok, _login_live, login_html} =
lv
|> element(~s|main a:fl-contains("Sign up")|)
|> element(~s|main a:fl-contains("Register")|)
|> render_click()
|> follow_redirect(conn, ~p"/users/register")