Sha256: 8d844db8a7013e3d477c0782dc12ba545ed498c5e5c5af7b73bdd43ccbccfb8f
Contents?: true
Size: 687 Bytes
Versions: 2
Compression:
Stored size: 687 Bytes
Contents
<% form_tag(admin_inventory_settings_path, :method => :put) do -%> <h2><%= t('Inventory Server Preferences') %></h2> <div> <p> <%= check_box_tag('preferences[show_zero_stock_products]', "1", Spree::Config[:show_zero_stock_products]) %> <strong><%= t('Show Out-of-Stock Products') %></strong> <input name="preferences[show_zero_stock_products]" type="hidden" value="0" /> </p> <p> <%= check_box_tag('preferences[allow_backorders]', "1", Spree::Config[:allow_backorders]) %> <strong><%= t('Allow Backorders') %></strong> <input name="preferences[allow_backorders]" type="hidden" value="0" /> </p> </div> <%= submit_tag t('Save Preferences') %> <% end -%>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree-0.5.0 | app/views/admin/inventory_settings/edit.html.erb |
spree-0.5.1 | app/views/admin/inventory_settings/edit.html.erb |