diff --git a/app/views/packages/_packages_search_results.html.erb b/app/views/packages/_packages_search_results.html.erb index d5e15c9..f489884 100644 --- a/app/views/packages/_packages_search_results.html.erb +++ b/app/views/packages/_packages_search_results.html.erb @@ -2,18 +2,15 @@ <% if @packages.length>0 %> <%= paginate @packages %> - <% end %> - - diff --git a/app/views/packages/index.html.erb b/app/views/packages/index.html.erb index 133c86a..614880f 100644 --- a/app/views/packages/index.html.erb +++ b/app/views/packages/index.html.erb @@ -1,4 +1,4 @@ - - - -

Search for a package/description:

+ <%= form_tag(url_for, method: "get", class: "form-search") do %> +
- <%= form_tag(url_for, method: "get", class: "form-search") do %>
<%= text_field_tag :search, params[:search], autofocus: true, placeholder: 'What are you looking for...', class: "search-query" %> @@ -70,28 +51,18 @@ -
- -
-
- - - - -
-
+
+
-
+
<% end %>