diff --git a/lib/plausible_web/templates/auth/login_form.html.heex b/lib/plausible_web/templates/auth/login_form.html.heex index 921ffa7835d6..cf6b5f9cd184 100644 --- a/lib/plausible_web/templates/auth/login_form.html.heex +++ b/lib/plausible_web/templates/auth/login_form.html.heex @@ -38,14 +38,14 @@ <:footer> <.focus_list> - <:item> - <%= if Keyword.fetch!(Application.get_env(:plausible, :selfhost), :disable_registration) == false do %> - Don't have an account - <.styled_link href="/register"> - Register - - instead. - <% end %> + <:item :if={ + Keyword.fetch!(Application.get_env(:plausible, :selfhost), :disable_registration) == false + }> + Don't have an account + <.styled_link href="/register"> + Register + + instead. <:item> Forgot password?