Sha256: dec2b9e5d728e5ce615063bcc2f790fa46c5b83da24a0263cb60bf723ba0f992

Contents?: true

Size: 689 Bytes

Versions: 3

Compression:

Stored size: 689 Bytes

Contents

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

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

<% form_tag(admin_review_settings_path, :method => :put) do -%>
  <p>
    <label><%= t("reviews.include_unapproved") %>:</label>
    <%= check_box_tag('preferences[include_unapproved_reviews]', "1", Spree::Reviews::Config[:include_unapproved_reviews]) %>
  </p>
  <p>
    <label><%= t('reviews.preview_size') %>:</label>
    <%= text_field_tag('preferences[preview_size]', Spree::Reviews::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

3 entries across 3 versions & 1 rubygems

Version Path
spree_reviews-0.50.1 app/views/admin/review_settings/edit.html.erb
spree_reviews-0.50.0 app/views/admin/review_settings/edit.html.erb
spree_reviews-0.30.0 app/views/admin/review_settings/edit.html.erb