multiple swags [wip]
This commit is contained in:
parent
a0e1760ef1
commit
4843021971
4 changed files with 22 additions and 12 deletions
|
|
@ -20,9 +20,8 @@
|
|||
off_color: 'warning',
|
||||
on_text: 'Yes',
|
||||
off_text: 'No' }
|
||||
= f.input :type, label: 'Swags type'
|
||||
= f.input :quantity, label: 'Swags quantity', as: :number, in: 0..9999
|
||||
- generate_swags_hash(@type, @quantity)
|
||||
|
||||
|
||||
= image_tag f.object.picture.thumb.url if f.object.picture?
|
||||
= f.input :picture
|
||||
%p.text-right
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue