Sha256: cb5ad260e7e5395fb408cd2862b41f0655b6bf9537658501f2c0e8a484dccf51

Contents?: true

Size: 852 Bytes

Versions: 2

Compression:

Stored size: 852 Bytes

Contents

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

<h1><%= t('inventory_settings') %></h1>

<%= form_tag(admin_inventory_settings_path, :method => :put) do %>

  <p data-hook="show_zero_stock">
    <label>
	  <input name="preferences[show_zero_stock_products]" type="hidden" value="0" />
      <%= check_box_tag('preferences[show_zero_stock_products]', "1", Spree::Config[:show_zero_stock_products]) %>
      <%= t('show_out_of_stock_products') %>
    </label>
  </p>
  
  <p data-hook="allow_backorders">
    <label>
	  <input name="preferences[allow_backorders]" type="hidden" value="0" />
      <%= check_box_tag('preferences[allow_backorders]', "1", Spree::Config[:allow_backorders]) %>
      <%= t('allow_backorders') %>
    </label>
  </p>

  <p class="form-buttons" data-hook="buttons">
    <%= button t('update') %>
  </p>

<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/admin/inventory_settings/edit.html.erb
spree_core-0.70.RC1 app/views/admin/inventory_settings/edit.html.erb