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