multiple swags [wip]
This commit is contained in:
parent
a0e1760ef1
commit
4843021971
4 changed files with 22 additions and 12 deletions
7
app/views/admin/sponsors/_swags.erb
Normal file
7
app/views/admin/sponsors/_swags.erb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<div class="swag_fields">
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :type, label: 'Swags type' %>
|
||||
<%= f.input :quantity, label: 'Swags quantity', as: :number, in: 0..9999 %>
|
||||
<%- generate_swags_hash(@type, @quantity) %>
|
||||
<% end %>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue