osem-fcy/app/views/admin/sponsors/_swag_fields.html.haml

6 lines
278 B
Text
Raw Normal View History

2017-08-25 20:04:19 +03:00
.row
.col-md-6
2017-08-28 15:24:51 +03:00
= f.input :type, label: 'Swag\'s type', input_html: { name: "sponsor[swag][#{index}][type]", value: type_value }
2017-08-25 20:04:19 +03:00
.col-md-6
2017-08-28 15:24:51 +03:00
= f.input :quantity, as: :number, in: 0...9999, input_html: { name: "sponsor[swag][#{index}][quantity]", value: quantity_value}