button icon rails code example
Example: button with icon rails
<%= button_to raw("<i class=\"icon-search icon-white\"></i>"),
link_path,
class: "btn btn-success" %>
<%= button_to raw("<i class=\"icon-search icon-white\"></i>"),
link_path,
class: "btn btn-success" %>