Move new yield button to the top

This commit is contained in:
2023-07-26 10:15:54 +03:00
parent 80fa92dadb
commit c13d9d8669

View File

@@ -13,6 +13,8 @@
</.modal>
<% end %>
<span><%= live_patch "New Yield", to: Routes.yield_index_path(@socket, :new) %></span>
<table>
<thead>
<tr>
@@ -39,5 +41,3 @@
<% end %>
</tbody>
</table>
<span><%= live_patch "New Yield", to: Routes.yield_index_path(@socket, :new) %></span>