Sha256: 042db6e9bdd8fad620b4e931dfb3e85291f6846c338dffae49763de177bb9e40
Contents?: true
Size: 258 Bytes
Versions: 4
Compression:
Stored size: 258 Bytes
Contents
module ClassificationsHelper def label_select(facet, label_id) options = content_tag(:option, "") options << options_from_collection_for_select(facet.labels, :id, :caption, label_id) select_tag "classification[label_ids][]", options end end
Version data entries
4 entries across 4 versions & 1 rubygems