Method: CustomTable::ApplicationHelper#custom_table_settings_button
- Defined in:
- app/helpers/custom_table/application_helper.rb
#custom_table_settings_button(search_model, variant = nil, size: "sm") ⇒ Object
451 452 453 454 455 |
# File 'app/helpers/custom_table/application_helper.rb', line 451 def search_model, variant=nil, size: "sm" link_to custom_table.edit_setting_path(search_model.model_name, variant: variant), :class => "btn btn-outline-primary btn-#{size}", data: {"turbo-frame": "remote-modal"} do custom_table_settings_icon end end |