Register

<%= form_for @changeset, Routes.user_registration_path(@conn, :create), [class: "flex flex-col h-full justify-center items-start m-auto"], fn f -> %> <%= if @changeset.action do %>

Oops, something went wrong! Please check the errors below.

<% end %>
<%= label f, :email %> <%= email_input f, :email, [class: "text-black px-2 py-1 outline-none", required: true] %> <%= error_tag f, :email %>
<%= label f, :password, [class: ""] %> <%= password_input f, :password, [class: "text-black px-2 py-1 outline-none", required: true] %> <%= error_tag f, :password %>
<%= submit "Sign up" %>
<% end %>

<%= link "Log in", to: Routes.user_session_path(@conn, :new) %> | <%= link "Forgot password?", to: Routes.user_reset_password_path(@conn, :new) %>