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

5 lines
279 B
Text

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