update deps and format
This commit is contained in:
@ -5,8 +5,11 @@
|
||||
|
||||
<%= form_for :user,
|
||||
Routes.user_confirmation_path(@conn, :create),
|
||||
[class: "flex flex-col sm:grid sm:grid-cols-3
|
||||
justify-center items-center text-center space-y-4"],
|
||||
[
|
||||
class:
|
||||
"flex flex-col sm:grid sm:grid-cols-3" <>
|
||||
"justify-center items-center text-center space-y-4"
|
||||
],
|
||||
fn f -> %>
|
||||
<%= label(f, :email, class: "title text-lg text-primary-500") %>
|
||||
<%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %>
|
||||
|
@ -5,8 +5,11 @@
|
||||
|
||||
<%= form_for @changeset,
|
||||
Routes.user_registration_path(@conn, :create),
|
||||
[class: "flex flex-col sm:grid sm:grid-cols-3
|
||||
justify-center items-center text-center space-y-4"],
|
||||
[
|
||||
class:
|
||||
"flex flex-col sm:grid sm:grid-cols-3" <>
|
||||
"justify-center items-center text-center space-y-4"
|
||||
],
|
||||
fn f -> %>
|
||||
<%= if @changeset.action && not @changeset.valid? do %>
|
||||
<div class="alert alert-danger col-span-3">
|
||||
|
@ -5,8 +5,11 @@
|
||||
|
||||
<%= form_for @changeset,
|
||||
Routes.user_reset_password_path(@conn, :update, @token),
|
||||
[class: "flex flex-col sm:grid sm:grid-cols-3
|
||||
justify-center items-center text-center space-y-4"],
|
||||
[
|
||||
class:
|
||||
"flex flex-col sm:grid sm:grid-cols-3" <>
|
||||
"justify-center items-center text-center space-y-4"
|
||||
],
|
||||
fn f -> %>
|
||||
<%= if @changeset.action && not @changeset.valid? do %>
|
||||
<div class="alert alert-danger col-span-3">
|
||||
|
@ -5,8 +5,11 @@
|
||||
|
||||
<%= form_for :user,
|
||||
Routes.user_reset_password_path(@conn, :create),
|
||||
[class: "flex flex-col sm:grid sm:grid-cols-3
|
||||
justify-center items-center text-center space-y-4"],
|
||||
[
|
||||
class:
|
||||
"flex flex-col sm:grid sm:grid-cols-3" <>
|
||||
"justify-center items-center text-center space-y-4"
|
||||
],
|
||||
fn f -> %>
|
||||
|
||||
<%= label(f, :email, class: "title text-lg text-primary-500") %>
|
||||
|
@ -5,8 +5,12 @@
|
||||
|
||||
<%= form_for @conn,
|
||||
Routes.user_session_path(@conn, :create),
|
||||
[as: :user, class: "flex flex-col sm:grid sm:grid-cols-3
|
||||
justify-center items-center text-center space-y-4"],
|
||||
[
|
||||
as: :user,
|
||||
class:
|
||||
"flex flex-col sm:grid sm:grid-cols-3" <>
|
||||
"justify-center items-center text-center space-y-4"
|
||||
],
|
||||
fn f -> %>
|
||||
<%= if @error_message do %>
|
||||
<div class="alert alert-danger col-span-3">
|
||||
|
@ -7,8 +7,11 @@
|
||||
|
||||
<%= form_for @email_changeset,
|
||||
Routes.user_settings_path(@conn, :update),
|
||||
[class: "pb-4 flex flex-col sm:grid sm:grid-cols-3
|
||||
justify-center items-center text-center space-y-4"],
|
||||
[
|
||||
class:
|
||||
"pb-4 flex flex-col sm:grid sm:grid-cols-3" <>
|
||||
"justify-center items-center text-center space-y-4"
|
||||
],
|
||||
fn f -> %>
|
||||
<h3 class="title text-primary-500 text-lg col-span-3">
|
||||
<%= dgettext("actions", "Change email") %>
|
||||
|
Reference in New Issue
Block a user