Class: SelectWithModalHelpInput

Inherits:
MultiValueWithHelpInput show all
Defined in:
app/inputs/select_with_modal_help_input.rb

Instance Method Summary collapse

Methods inherited from MultiValueWithHelpInput

#input_type

Methods included from WithHelpIcon

#label

Instance Method Details



2
3
4
5
6
7
# File 'app/inputs/select_with_modal_help_input.rb', line 2

def link_to_help
  template.link_to "##{attribute_name}Modal", id: "#{input_class}_help_modal", rel: 'button',
                                              data: { toggle: 'modal' }, 'aria-label' => aria_label do
    help_icon
  end
end