Method: FlexaLib::Helpers::ButtonGridHelpers#flexa_grid_button_generic

Defined in:
lib/flexa_lib/helpers/button_grid_helpers.rb

#flexa_grid_button_generic(button, icon, path, *args) ⇒ Object

BUTTON_GRID_HELPERS



34
35
36
37
38
# File 'lib/flexa_lib/helpers/button_grid_helpers.rb', line 34

def flexa_grid_button_generic(button,icon,path,*args)
  options = args.extract_options!
  options[:class]= "btn btn-smallest btn-"+button
  concat(link_to ("i", "",:class=>"icon-"+icon+" icon-white"), path, options)
end