Sha256: 3d5be01662d9c3f01626e538fa515fa6f9a846ab96a607b70f4c484853014176
Contents?: true
Size: 1.74 KB
Versions: 3
Compression:
Stored size: 1.74 KB
Contents
<%= render 'spree/admin/shared/configuration_menu' %> <% content_for :page_title do %> <%= Spree.t("spree_reviews.review_settings") %> <% end %> <%= form_tag(admin_review_settings_path, :method => :put) do %> <fieldset class="no-border-top"> <div class="field"> <%= check_box_tag('preferences[include_unapproved_reviews]', "1", Spree::Reviews::Config[:include_unapproved_reviews]) %> <label><%= Spree.t("spree_reviews.include_unapproved") %></label> </div> <div class="field"> <%= check_box_tag('preferences[feedback_rating]', "1", Spree::Reviews::Config[:feedback_rating]) %> <label><%= Spree.t("spree_reviews.feedback_rating") %></label> </div> <div class="field"> <%= check_box_tag('preferences[show_email]', "1", Spree::Reviews::Config[:show_email]) %> <label><%= Spree.t("spree_reviews.show_email") %></label> </div> <div class="field"> <%= check_box_tag('preferences[require_login]', "1", Spree::Reviews::Config[:require_login]) %> <label><%= Spree.t("spree_reviews.require_login") %></label> </div> <div class="field"> <%= check_box_tag('preferences[track_locale]', "1", Spree::Reviews::Config[:track_locale]) %> <label><%= Spree.t("spree_reviews.track_locale") %></label> </div> <div class="field"> <label><%= Spree.t('spree_reviews.preview_size') %></label><br> <%= text_field_tag('preferences[preview_size]', Spree::Reviews::Config[:preview_size], :size => 3) %> </div> <div class="form-buttons filter-actions actions" data-hook="buttons"> <%= button Spree.t('actions.update'), 'icon-refresh' %> <span class="or"><%= Spree.t(:or) %></span> <%= link_to_with_icon 'icon-remove', Spree.t('actions.cancel'), edit_admin_general_settings_url, :class => 'button' %> </div> </fieldset> <% end %>
Version data entries
3 entries across 3 versions & 2 rubygems