module LocalAuthorityConcern
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/generators/dog_biscuits/templates/app/services/concerns/local_authority_concern.rb, line 6 def initialize super end
Public Instance Methods
include_current_label(value, _index, render_options, html_options)
click to toggle source
# File lib/generators/dog_biscuits/templates/app/services/concerns/local_authority_concern.rb, line 10 def include_current_label(value, _index, render_options, html_options) if value.present? html_options[:class] << ' force-select' render_options += [[find_label_string(value).join, value]] end [render_options, html_options] end