Sha256: 7162109f804970cd4c8b8acda991cf1fd69e0bdb68cd0848d2487f81c75d4986
Contents?: true
Size: 1.29 KB
Versions: 4
Compression:
Stored size: 1.29 KB
Contents
<%= form_for review, url: product_reviews_path(product), html: { method: :post, multipart: true} do |f| %> <%= render "spree/shared/error_messages", target: review %> <p class="review_rating_field"> <%= f.label :rating %> <span class="required">*</span><br /> <%= render "spree/reviews/stars", stars: review.rating, edit_enabled: true %> </p> <p class="review_name_field"> <%= f.label :name %><br /> <%= f.text_field :name, maxlength: "255", size: "50" %> </p> <p class="review_title_field"> <%= f.label :title %><br /> <%= f.text_field :title, maxlength: "255", size: "50" %> </p> <p class="review_review_field"> <%= f.label :review %><br /> <%= f.text_area :review, wrap: "virtual", rows: "10", cols: "50" %> </p> <p class="review_images_field"> <%= f.label :images %><br> <%= f.file_field :images, :accept => "image/*", multiple: true %> </p> <% if Spree::Reviews::Config[:render_show_identifier_checkbox] %> <p class="review_show_identifier_field"> <%= f.label :show_identifier %><br /> <%= f.check_box :show_identifier, wrap: "virtual", rows: "10", cols: "50", checked: true %> </p> <% end %> <p class="review_submit"> <%= f.submit I18n.t("spree.submit_your_review"), class: "button bg_darkfirst" %> </p> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems