forked from shibao/cannery
reenable heex_formatter
This commit is contained in:
@ -8,21 +8,24 @@
|
||||
No containers 😔
|
||||
</h2>
|
||||
|
||||
<%= live_patch "Add your first container!",
|
||||
<%= live_patch("Add your first container!",
|
||||
to: Routes.container_index_path(@socket, :new),
|
||||
class: "btn btn-primary" %>
|
||||
class: "btn btn-primary"
|
||||
) %>
|
||||
<% else %>
|
||||
<%= live_patch to: Routes.container_index_path(@socket, :new),
|
||||
class: "btn btn-primary" do %>
|
||||
class: "btn btn-primary" do %>
|
||||
New Container
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<div class="flex flex-row flex-wrap">
|
||||
<%= for container <- @containers do %>
|
||||
<div id={"container-#{container.id}"}
|
||||
<div
|
||||
id={"container-#{container.id}"}
|
||||
class="px-8 py-4 flex flex-col justify-center items-center
|
||||
border border-gray-400 rounded-lg shadow-lg hover:shadow-md">
|
||||
border border-gray-400 rounded-lg shadow-lg hover:shadow-md"
|
||||
>
|
||||
<div class="mb-4 flex flex-col justify-center items-center">
|
||||
<h1 class="px-4 py-2 rounded-lg title text-xl">
|
||||
<%= container.name %>
|
||||
|
Reference in New Issue
Block a user