Sha256: 96d691da272109682486dbaab93cca0846f763bfe37656df7c2bfe9aeadccdce

Contents?: true

Size: 668 Bytes

Versions: 3

Compression:

Stored size: 668 Bytes

Contents

<div class="left six columns alpha">
  <div class="field">
    <%= f.label :can_be_part, Spree.t(:can_be_part)%>
    <%= f.check_box(:can_be_part) %>
  </div>
</div>
<div class="right six columns omega">
  <div class="field">
    <%= f.label :individual_sale, Spree.t(:individual_sale)%>
    <%= f.check_box(:individual_sale) %>
  </div>
</div>

<% if @product.assembly? %>
  <% content_for :head do %>
    <script type="text/javascript">
      jQuery(document).ready(function(){
        $("input[id='product_on_hand']").attr('disabled',true).parent().hide();
        $("input#product_can_be_part").attr('disabled',true);
      });
    </script>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
solidus_product_bundle-1.0.1 app/views/spree/admin/products/_product_assembly_fields.html.erb
solidus_product_bundle-1.0.0 app/views/spree/admin/products/_product_assembly_fields.html.erb
solidus_product_assembly-1.0.0 app/views/spree/admin/products/_product_assembly_fields.html.erb