This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| <div class="mb-8 flex flex-col justify-center items-center space-y-4"> | ||||
| <div class="mx-auto mb-8 max-w-2xl flex flex-col justify-center items-center space-y-4"> | ||||
|   <h1 class="title text-primary-600 text-xl"> | ||||
|     <%= dgettext("actions", "Reset password") %> | ||||
|   </h1> | ||||
| @@ -7,8 +7,7 @@ | ||||
|            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" | ||||
|                "flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" | ||||
|            ], | ||||
|            fn f -> %> | ||||
|     <%= if @changeset.action && not @changeset.valid? do %> | ||||
| @@ -33,7 +32,7 @@ | ||||
|     <%= error_tag(f, :password_confirmation, "col-span-3") %> | ||||
|  | ||||
|     <%= submit(dgettext("actions", "Reset password"), | ||||
|       class: "mx-auto my-4 btn btn-primary col-span-3" | ||||
|       class: "mx-auto btn btn-primary col-span-3" | ||||
|     ) %> | ||||
|   <% end %> | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| <div class="mb-8 flex flex-col justify-center items-center space-y-4"> | ||||
| <div class="mx-auto mb-8 max-w-2xl flex flex-col justify-center items-center space-y-4"> | ||||
|   <h1 class="title text-primary-600 text-xl"> | ||||
|     <%= dgettext("actions", "Forgot your password?") %> | ||||
|   </h1> | ||||
| @@ -7,15 +7,14 @@ | ||||
|            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" | ||||
|                "flex flex-col sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" | ||||
|            ], | ||||
|            fn f -> %> | ||||
|     <%= label(f, :email, class: "title text-lg text-primary-600") %> | ||||
|     <%= email_input(f, :email, required: true, class: "input input-primary col-span-2") %> | ||||
|  | ||||
|     <%= submit(dgettext("actions", "Send instructions to reset password"), | ||||
|       class: "mx-auto my-4 btn btn-primary col-span-3" | ||||
|       class: "mx-auto btn btn-primary col-span-3" | ||||
|     ) %> | ||||
|   <% end %> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user