mix format with new version
This commit is contained in:
		| @@ -40,7 +40,9 @@ defmodule CanneryWeb.Components.AmmoGroupCard do | ||||
|         <%= if @ammo_group.price_paid do %> | ||||
|           <span class="rounded-lg title text-lg"> | ||||
|             <%= gettext("Price paid:") %> | ||||
|             <%= gettext("$%{amount}", amount: @ammo_group.price_paid |> :erlang.float_to_binary(decimals: 2)) %> | ||||
|             <%= gettext("$%{amount}", | ||||
|               amount: @ammo_group.price_paid |> :erlang.float_to_binary(decimals: 2) | ||||
|             ) %> | ||||
|           </span> | ||||
|         <% end %> | ||||
|       </div> | ||||
|   | ||||
| @@ -8,9 +8,11 @@ defmodule CanneryWeb.Components.InviteCard do | ||||
|  | ||||
|   def invite_card(assigns) do | ||||
|     ~H""" | ||||
|     <div class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center space-y-4 | ||||
|     <div | ||||
|       class="mx-4 my-2 px-8 py-4 flex flex-col justify-center items-center space-y-4 | ||||
|       border border-gray-400 rounded-lg shadow-lg hover:shadow-md | ||||
|       transition-all duration-300 ease-in-out"> | ||||
|       transition-all duration-300 ease-in-out" | ||||
|     > | ||||
|       <h1 class="title text-xl"> | ||||
|         <%= @invite.name %> | ||||
|       </h1> | ||||
| @@ -30,7 +32,8 @@ defmodule CanneryWeb.Components.InviteCard do | ||||
|         <code | ||||
|           id={"code-#{@invite.id}"} | ||||
|           class="mx-2 my-1 text-xs px-4 py-2 rounded-lg text-center break-all text-gray-100 bg-primary-800" | ||||
|         ><%= Routes.user_registration_url(Endpoint, :new, invite: @invite.token) %> | ||||
|         > | ||||
|           <%= Routes.user_registration_url(Endpoint, :new, invite: @invite.token) %> | ||||
|         </code> | ||||
|  | ||||
|         <%= if @code_actions do %> | ||||
|   | ||||
| @@ -30,10 +30,12 @@ defmodule CanneryWeb.Components.Topbar do | ||||
|           <% end %> | ||||
|         </div> | ||||
|  | ||||
|         <hr class="mb-2 sm:hidden hr-light"> | ||||
|         <hr class="mb-2 sm:hidden hr-light" /> | ||||
|  | ||||
|         <ul class="flex flex-row flex-wrap justify-center items-center | ||||
|           text-lg text-white text-ellipsis"> | ||||
|         <ul | ||||
|           class="flex flex-row flex-wrap justify-center items-center | ||||
|           text-lg text-white text-ellipsis" | ||||
|         > | ||||
|           <%= if @current_user do %> | ||||
|             <li class="mx-2 my-1"> | ||||
|               <%= link(gettext("Tags"), | ||||
|   | ||||
| @@ -21,7 +21,7 @@ defmodule CanneryWeb.Components.UserCard do | ||||
|         <%= if @user.confirmed_at |> is_nil() do %> | ||||
|           Email unconfirmed | ||||
|         <% else %> | ||||
|           User was confirmed at <%= @user.confirmed_at |> display_datetime() %> | ||||
|           User was confirmed at<%= @user.confirmed_at |> display_datetime() %> | ||||
|         <% end %> | ||||
|       </h3> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user