Sha256: a0c3d28840198c742138606a5a259dd2171034e5566c1145d4331f66395e63cb
Contents?: true
Size: 403 Bytes
Versions: 3
Compression:
Stored size: 403 Bytes
Contents
module Comable module Admin module ProductsHelper # プロパティ追加ボタン設置 def add_property_button_tag(name) fields = render 'comable/admin/products/property_fields', property_key: nil, property_value: nil button_tag(name, type: :button, class: 'add_property btn btn-default pull-right', data: { fields: fields.delete("\n") }) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems