Method: BMC::ButtonHelper#edit_button

Defined in:
app/helpers/bmc/button_helper.rb

#edit_button(url, **options) ⇒ Object



80
81
82
83
84
85
86
87
# File 'app/helpers/bmc/button_helper.rb', line 80

def edit_button(url, **options)
  options = {
    :icon   => :pencil_alt,
    :action => :edit,
  }.merge(options)

  bs_button(url, **options)
end