diff --git a/lib/cannery_web/live/ammo_type_live/form_component.ex b/lib/cannery_web/live/ammo_type_live/form_component.ex index 66201b93..9b85f367 100644 --- a/lib/cannery_web/live/ammo_type_live/form_component.ex +++ b/lib/cannery_web/live/ammo_type_live/form_component.ex @@ -35,7 +35,7 @@ defmodule CanneryWeb.AmmoTypeLive.FormComponent do def render(assigns) do ~H"""
Name | +Case material | +Bullet type | +Grain | +Manufacturer | + ++ |
---|---|---|---|---|---|
<%= ammo_type.name %> | +<%= ammo_type.case_material %> | +<%= ammo_type.bullet_type %> | +<%= ammo_type.grain %> | +<%= ammo_type.manufacturer %> | + ++ <%= live_redirect "Show", to: Routes.ammo_type_show_path(@socket, :show, ammo_type) %> + <%= live_patch "Edit", to: Routes.ammo_type_index_path(@socket, :edit, ammo_type) %> + <%= link "Delete", to: "#", phx_click: "delete", phx_value_id: ammo_type.id, data: [confirm: "Are you sure?"] %> + | +
Name | -Desc | -Case material | -Bullet type | -Weight | -Manufacturer | - -- |
---|---|---|---|---|---|---|
<%= ammo_type.name %> | -<%= ammo_type.desc %> | -<%= ammo_type.case_material %> | -<%= ammo_type.bullet_type %> | -<%= ammo_type.weight %> | -<%= ammo_type.manufacturer %> | - -- <%= live_redirect "Show", to: Routes.ammo_type_show_path(@socket, :show, ammo_type) %> - <%= live_patch "Edit", to: Routes.ammo_type_index_path(@socket, :edit, ammo_type) %> - <%= link "Delete", to: "#", phx_click: "delete", phx_value_id: ammo_type.id, data: [confirm: "Are you sure?"] %> - | -