diff --git a/app/views/crops/index.html.haml b/app/views/crops/index.html.haml index f3cbce84e..1b5663c25 100644 --- a/app/views/crops/index.html.haml +++ b/app/views/crops/index.html.haml @@ -5,9 +5,10 @@ View any crop page to see which of our members have planted it and find information on how to grow it yourself. -= form_tag(crops_path, :method => :get, :class => 'form-inline') do - = label_tag :sort, "Sort by:", :class => 'control-label' - = select_tag "sort", options_for_select({"Popularity" => 'popular', "Alphabetical" => 'alpha'}, @sort || 'popular') += form_tag(crops_path, :method => :get, :class => 'form-inline', :role => 'form') do + .form-group + = label_tag :sort, "Sort by:", :class => 'sr-only' + = select_tag "sort", options_for_select({"Sort by popularity" => 'popular', "Sort alphabetically" => 'alpha'}, @sort || 'popular'), :class => 'form-control' = submit_tag "Show", :class => 'btn btn-primary' %div.pagination