move swag fields to partial
This commit is contained in:
parent
93f7e07ebe
commit
e55509183c
5 changed files with 21 additions and 23 deletions
5
app/views/admin/sponsors/_swag_fields.html.haml
Normal file
5
app/views/admin/sponsors/_swag_fields.html.haml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
.row
|
||||
.col-md-6
|
||||
= text_field_tag "sponsor[swag_hash][#{index}][type]"
|
||||
.col-md-6
|
||||
= text_field_tag "sponsor[swag_hash][#{index}][quantity]"
|
||||
Loading…
Add table
Add a link
Reference in a new issue