Sha256: 9943a680c317e3ef4902b35fa65e59551ade8cae6a0936b5ef29e60729664002
Contents?: true
Size: 465 Bytes
Versions: 17
Compression:
Stored size: 465 Bytes
Contents
module CurationConcerns # Provide select options for the license (dcterms:rights) field class LicenseService < QaSelectService def initialize super('licenses') end def include_current_value(value, _index, render_options, html_options) unless value.blank? || active?(value) html_options[:class] << ' force-select' render_options += [[label(value), value]] end [render_options, html_options] end end end
Version data entries
17 entries across 17 versions & 1 rubygems