module FileAuthorityConcern
Public Instance Methods
include_current_value(value, _index, render_options, html_options)
click to toggle source
# File lib/generators/dog_biscuits/templates/app/services/concerns/file_authority_concern.rb, line 6 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