Add tabs to sponsor#index
This commit is contained in:
parent
4381f687b6
commit
b770f9bd4d
3 changed files with 94 additions and 35 deletions
|
|
@ -24,7 +24,6 @@
|
|||
off_text: 'No' }
|
||||
- @sponsor.swags.each_with_index do |(key, value), index|
|
||||
=render partial: 'swag_fields', locals: {f: f, index: index, v_type: value[:type].to_s, v_quantity: value[:quantity].to_i}
|
||||
=render partial: 'swag_fields', locals: { f: f, index: @sponsor.swag_index, v_type: nil, v_quantity: 0}
|
||||
|
||||
.row
|
||||
.col-md-8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue