| Date | Plant | Amount | Unit | |
|---|---|---|---|---|
| <%= yield.date %> | <%= yield.plant %> | <%= yield.amount %> | <%= yield.unit %> | <%= live_redirect "Show", to: Routes.yield_show_path(@socket, :show, yield) %> <%= live_patch "Edit", to: Routes.yield_index_path(@socket, :edit, yield) %> <%= link "Delete", to: "#", phx_click: "delete", phx_value_id: yield.id, data: [confirm: "Are you sure?"] %> |