Run new formatter

This commit is contained in:
2024-12-26 22:33:09 +01:00
parent 6e221e8176
commit 28f823d691
6 changed files with 35 additions and 35 deletions

View File

@@ -7,7 +7,7 @@ defmodule MihainatorWeb.DayComponent do
def render(assigns) do
~H"""
<button class={@classes} style={@style}>
<time><%= @day %></time>
<time>{@day}</time>
</button>
"""
end

View File

@@ -66,7 +66,7 @@
<article class="upload-entry">
<%!-- Phoenix.Component.upload_errors/2 returns a list of error atoms --%>
<%= for err <- upload_errors(@uploads.history, entry) do %>
<p class="alert alert-danger"><%= error_to_string(err) %></p>
<p class="alert alert-danger">{error_to_string(err)}</p>
<% end %>
</article>
<% end %>
@@ -75,7 +75,7 @@
<section phx-drop-target={@uploads.history.ref}>
<%!-- Phoenix.Component.upload_errors/1 returns a list of error atoms --%>
<%= for err <- upload_errors(@uploads.history) do %>
<p class="alert alert-danger"><%= error_to_string(err) %></p>
<p class="alert alert-danger">{error_to_string(err)}</p>
<% end %>
</section>
</div>

View File

@@ -28,8 +28,8 @@ defmodule MihainatorWeb.ResultComponent do
~H"""
<div class="text-center border-b pb-2 text-slate-700 dark:text-slate-300">
<div>
<%= @formatted_month %>
<span class="font-extrabold"><%= @year %></span>
{@formatted_month}
<span class="font-extrabold">{@year}</span>
</div>
</div>
"""