Add tabs to sponsor#index

This commit is contained in:
nasia 2017-08-27 00:25:29 +03:00
parent 4381f687b6
commit b770f9bd4d
3 changed files with 94 additions and 35 deletions

View file

@ -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