Sha256: ef18e7ac46ce80457e3d34383d4e139af2de6bf78a28542608f499df3fa2a179
Contents?: true
Size: 812 Bytes
Versions: 6
Compression:
Stored size: 812 Bytes
Contents
= error_messages_for @stock - url = comable.admin_product_stocks_path(@product) if @stock.new_record? - url ||= comable.admin_stock_path(@stock) = form_for @stock, url: url do |f| .hidden = f.submit fieldset .col-md-3 legend = Comable.t('admin.general') .help-block .col-md-9 .form-group = f.label :code = f.text_field :code .form-group = f.label :quantity = f.text_field :quantity - if @stock.sku? - if @stock.sku_h? .form-group = f.label :sku_h_choice_name, @stock.sku_h_item_name = f.text_field :sku_h_choice_name - if @stock.sku_v? .form-group = f.label :sku_v_choice_name, @stock.sku_v_item_name = f.text_field :sku_v_choice_name
Version data entries
6 entries across 6 versions & 2 rubygems