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

6 lines
271 B
Text
Raw Normal View History

2017-08-25 20:04:19 +03:00
.row
.col-md-6
2017-08-26 20:41:36 +03:00
= f.input :type, label: 'Swag\'s type', input_html: { name: "sponsor[swags][#{index}][type]", value: v_type }
2017-08-25 20:04:19 +03:00
.col-md-6
2017-08-26 20:41:36 +03:00
= f.input :quantity, as: :number, in: 0...999, input_html: { name: "sponsor[swags][#{index}][quantity]", value: v_quantity}