RailsCasts Pro episodes are now free!

Learn more or hide this

Tiago Martins's Profile

GitHub User: tiagom87

Site: http://www.headblendr.com

Comments by Tiago Martins

Avatar

Anyway to convert the sort_links into bootstrap buttons?

I managed to apply a form-inline class to the search_form_for thanks to Tom Harrisson, thanks!:

<%= search_form_for @search, :html => {:class => "form-inline"} do |f| %>

Any idea how to apply a css custom button to:

<%= sort_link @search, :title, "Title" %>

Thankyou