mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-04-03 08:41:58 -04:00
Got the UI working
This commit is contained in:
13
app/views/line_items/_line_item_fields.html.erb
Normal file
13
app/views/line_items/_line_item_fields.html.erb
Normal 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>
|
||||
Reference in New Issue
Block a user