Sha256: a945155ab56789dc57dd12a3f95aaed4c7819c24d735d6dab7e433976a7d5391
Contents?: true
Size: 386 Bytes
Versions: 16
Compression:
Stored size: 386 Bytes
Contents
module Formstrap module Listable extend ActiveSupport::Concern included do def list datalist_id if @list end def datalist? @list.present? end def datalist_options { collection: @list, id: datalist_id } end def datalist_id "#{attribute}_list" end end end end
Version data entries
16 entries across 16 versions & 1 rubygems