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 (,icon,path,*args) = args. [:class]= "btn btn-smallest btn-"+ concat(link_to content_tag("i", "",:class=>"icon-"+icon+" icon-white"), path, ) end |