osem-fcy/app/views/admin/sponsors/_swag_fields.html.haml
2017-08-29 12:16:17 +03:00

5 lines
271 B
Text

.row
.col-md-6
= f.input :type, label: 'Swag\'s type', input_html: { name: "sponsor[swags][#{index}][type]", value: v_type }
.col-md-6
= f.input :quantity, as: :number, in: 0...999, input_html: { name: "sponsor[swags][#{index}][quantity]", value: v_quantity}