Sha256: 34af717d4feaca26169fbf26ead1ad3e556e568cd3ddd170574ba0098a012ea2

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 KB

Contents

<%= render :partial => 'admin/shared/configuration_menu' %>

<h1><%= t("spree_reviews.review_settings") %></h1>

<%= form_tag(admin_review_settings_path, :method => :put) do %>
  <p>
    <label><%= t("spree_reviews.include_unapproved") %>:</label>
    <%= check_box_tag('preferences[include_unapproved_reviews]', "1", Spree::Config[:include_unapproved_reviews]) %>
  </p>
  <p>
    <label><%= t("spree_reviews.feedback_rating") %>:</label>
    <%= check_box_tag('preferences[feedback_rating]', "1", Spree::Config[:feedback_rating]) %>
  </p>
  <p>
    <label><%= t("spree_reviews.show_email") %>:</label>
    <%= check_box_tag('preferences[show_email]', "1", Spree::Config[:show_email]) %>
  </p>
  <p>
    <label><%= t("spree_reviews.require_login") %>:</label>
    <%= check_box_tag('preferences[require_login]', "1", Spree::Config[:require_login]) %>
  </p>
  <p>
    <label><%= t('spree_reviews.preview_size') %>:</label>
    <%= text_field_tag('preferences[preview_size]', Spree::Config[:preview_size], :size => 3) %>
  </p>
  <p class="form-buttons">
    <%= button t('update') %>
    <%= t("or") %> <%= link_to t("cancel"), admin_review_settings_url %>
  </p>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_reviews_rating-0.70.7.1 app/views/admin/review_settings/edit.html.erb
spree_reviews_rating-0.70.7 app/views/admin/review_settings/edit.html.erb
spree_reviews_rating-0.70.6.1 app/views/admin/review_settings/edit.html.erb
spree_reviews_rating-0.70.6 app/views/admin/review_settings/edit.html.erb
spree_reviews_rating-0.70.5 app/views/admin/review_settings/edit.html.erb