Commit 69171e63abc95e60e5eff2e70e3eec3601c25754
Committed by
Arthur Esposte
1 parent
903ff15a
Exists in
master
and in
5 other branches
Fix search of search_catalog block
Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com> Signed-off-by: Parley Martins <parley@outlook.com>
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
views/blocks/search_catalog.html.erb
1 | 1 | <div id="catalogo-software-search"> |
2 | 2 | <h1><%= _("Catalog of Public Software") %></h1> |
3 | 3 | <%= form_tag(controller: "search", action: "software_infos", method: "get") do %> |
4 | - <%= text_field(:query, "software", :placeholder => "e.g: control, municipal or java", :class=>"searchField", :id=>"search-Gadget") %> | |
5 | - <%= submit_tag("Search", {:class=>"searchButton-catalog"})%> | |
4 | + <%= text_field_tag(:query, nil, :placeholder => "e.g: control, municipal or java", :class=>"searchField", :id=>"search-Gadget") %> | |
5 | + <%= submit_tag("Search", {:class=>"searchButton-catalog"})%> | |
6 | 6 | <% end %> |
7 | 7 | |
8 | 8 | <div id="search-catalog-footer"> |
9 | - <p><%= _("Access the complete catalog")%> | |
9 | + <p><%= _("Access the complete catalog")%> | |
10 | 10 | <%= link_to "", "/search/software_infos" , {:id => "bt_catalog-search"}%></p> |
11 | 11 | </div> |
12 | 12 | </div> | ... | ... |