Create an Offer

<%= simple_form_for(@offer) do |f|%>
<%= f.association :boardgame, as: :select, prompt: 'Select a boardgame', label: false %>
<%= f.input :title, collection: ['Excellent', 'Like new', 'Used', 'Incomplete'], label: false, prompt: "Specify the condition" %>
<%= f.input :description, label: false, placeholder: "Please add a description" %>
<%= f.input :price, label: false, placeholder: "Price per day" %>
<%= f.input :photos, as: :file, input_html: { multiple: true }, label: false %>
<%= f.submit class: "btn btn-primary mb-3 " %> <% end %>