Sha256: eec30f5b823754bd45fde364eb120817552906e128fad7e75e95606f05f08000

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

<%= form_for review, :url => product_reviews_path(product), :html => {:method => :post} 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 %> <span class="required">*</span><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 %> <span class="required">*</span><br />
    <%= f.text_area :review, :wrap => "virtual", :rows => "10", :cols => "50" %>
  </p>

  <p class="review_submit">
    <%= f.submit Spree.t(:submit_your_review), :class => "button bg_darkfirst" %>
  </p>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jiffyshirts_spree_reviews-2.3.1.2 app/views/spree/reviews/_form.html.erb
jiffyshirts_spree_reviews-2.3.1.1 app/views/spree/reviews/_form.html.erb