+
+ Listing Tags
+
+
+ Tags can be added to your containers to help you organize
+
+ <%= if @tags |> Enum.empty?() do %>
+
+
+ No tags
+
+ <%= live_patch("Create your first tag!",
+ to: Routes.tag_index_path(@socket, :new),
+ class: "btn btn-primary"
+ ) %>
+
+ <% else %>
+ <%= live_patch("New Tag",
+ to: Routes.tag_index_path(@socket, :new),
+ class: "btn btn-primary"
+ ) %>
+ <% end %>
+
+ <%= for tag <- @tags do %>
+
+
+ <%= tag.name %>
+
+ <%= live_patch to: Routes.tag_index_path(@socket, :edit, tag),
+ class: "text-primary-500 link" do %>
+
+
+ <% end %>
+ <%= link to: "#",
+ class: "text-primary-500 link",
+ phx_click: "delete",
+ phx_value_id: tag.id,
+ data: [confirm: "Are you sure you want to delete #{tag.name}?"] do %>
+
+
+ <% end %>
+
+ <% end %>
+
+
+<%= if @live_action in [:new, :edit] do %>
+ <%= live_modal(CanneryWeb.TagLive.FormComponent,
+ id: @tag.id || :new,
+ title: @page_title,
+ action: @live_action,
+ tag: @tag,
+ return_to: Routes.tag_index_path(@socket, :index),
+ current_user: @current_user
+ ) %>
+<% end %>
diff --git a/lib/cannery_web/live/tag_live/index.html.leex b/lib/cannery_web/live/tag_live/index.html.leex
deleted file mode 100644
index c0f3a8ea..00000000
--- a/lib/cannery_web/live/tag_live/index.html.leex
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
- Listing Tags
-
-
-
- Tags can be added to your containers to help you organize
-
-
- <%= if @tags |> Enum.empty?() do %>
-
-
- No tags
-
-
- <%= live_patch to: Routes.tag_index_path(@socket, :new),
- class: "btn btn-primary" do %>
- Create your first tag!
- <% end %>
-
- <% else %>
- <%= live_patch to: Routes.tag_index_path(@socket, :new),
- class: "btn btn-primary" do %>
- New Tag
- <% end %>
- <% end %>
-
-
- <%= for tag <- @tags do %>
-
-
-
- <%= tag.name %>
-
-
-
- <%= live_patch "Edit", to: Routes.tag_index_path(@socket, :edit, tag),
- class: "text-primary-500 link" %>
-
- <%= link "Delete", to: "#",
- class: "text-primary-500 link",
- phx_click: "delete",
- phx_value_id: tag.id,
- data: [confirm: "Are you sure you want to delete #{tag.name}?"] %>
-
-
- <% end %>
-
-
-
-<%= if @live_action in [:new, :edit] do %>
- <%= live_modal CanneryWeb.TagLive.FormComponent,
- id: @tag.id || :new,
- title: @page_title,
- action: @live_action,
- tag: @tag,
- return_to: Routes.tag_index_path(@socket, :index),
- current_user: @current_user %>
-<% end %>