Sha256: beb1a62f27d5ea17403c3ca7934c95c2d83f2fcc255a7fcab529f1fd1ece2d08

Contents?: true

Size: 630 Bytes

Versions: 8

Compression:

Stored size: 630 Bytes

Contents

Deface::Override.new(
  :virtual_path => 'spree/admin/general_settings/edit',
  :name => 'add_favorite_products_per_page_configuration',
  :insert_after => "#preferences .row",
  :text => %Q{
    <div class="row">
      <fieldset class="no-border-bottom">
        <legend align="center"><%= Spree.t(:favorite_products_settings) %></legend>
        <div class="field">
          <%= label_tag :favorite_products_per_page, Spree.t(:favorite_products_per_page) %><br>
          <%= text_field_tag :favorite_products_per_page, Spree::Config[:favorite_products_per_page], :size => 3 %>
        </div>
      </fieldset>
    </div>
  }
)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_favorite_products-2.3.0 app/overrides/add_favorite_products_per_page_configuration.rb
spree_favorite_products-2.0.3 app/overrides/add_favorite_products_per_page_configuration.rb
spree_favorite_products-2.2.3 app/overrides/add_favorite_products_per_page_configuration.rb
spree_favorite_products-2.2.2 app/overrides/add_favorite_products_per_page_configuration.rb
spree_favorite_products-2.0.2 app/overrides/add_favorite_products_per_page_configuration.rb
spree_favorite_products-2.2.0 app/overrides/add_favorite_products_per_page_configuration.rb
spree_favorite_products-2.0.1 app/overrides/add_favorite_products_per_page_configuration.rb
spree_favorite_products-1.0.1 app/overrides/add_favorite_products_per_page_configuration.rb