Styling fixes on harvest page

This commit is contained in:
2023-06-13 14:22:47 +03:00
parent 3a983516c9
commit e67b2cd453
5 changed files with 23 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
<h1>Listing Yields</h1>
<h1>Hello Albert!</h1>
<%= if @live_action in [:new, :edit] do %>
<.modal return_to={Routes.yield_index_path(@socket, :index)}>
@@ -27,7 +27,7 @@
<tbody id="yields">
<%= for yield <- @yields do %>
<tr id={"yield-#{yield.id}"}>
<td><%= yield.date %></td>
<td><%= yield.date.day %>.<%= yield.date.month %>.<%= yield.date.year %></td>
<td><%= yield.plant %></td>
<td><%= yield.amount %></td>
<td><%= yield.unit %></td>