Got the UI working

This commit is contained in:
2026-03-04 07:55:35 -05:00
parent eb6beea5fa
commit 681747e08b
9 changed files with 69 additions and 2645 deletions

View File

@@ -0,0 +1,13 @@
<div class="line-item">
<%= f.hidden_field :id %>
<%= f.text_field :description, placeholder: "Description" %>
<%= f.number_field :quantity, step: 1, placeholder: "Quantity" %>
<%= f.number_field :unit_price, step: 0.01, placeholder: "Unit Price" %>
<%= f.hidden_field :_destroy %>
<button type="button" data-nested-form-remove>
Remove
</button>
</div>