diff options
Diffstat (limited to 'app/views/nodes/_node_list.html.erb')
| -rw-r--r-- | app/views/nodes/_node_list.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/nodes/_node_list.html.erb b/app/views/nodes/_node_list.html.erb index 03f38b4..f7210f1 100644 --- a/app/views/nodes/_node_list.html.erb +++ b/app/views/nodes/_node_list.html.erb | |||
| @@ -4,7 +4,9 @@ | |||
| 4 | <% end %> | 4 | <% end %> |
| 5 | <%= hidden_field_tag :tags, params[:tags] if params[:tags].present? %> | 5 | <%= hidden_field_tag :tags, params[:tags] if params[:tags].present? %> |
| 6 | <%= text_field_tag :q, params[:q], placeholder: "Search title, abstract, body…" %> | 6 | <%= text_field_tag :q, params[:q], placeholder: "Search title, abstract, body…" %> |
| 7 | <%= submit_tag "Search", class: "action_button" %> | 7 | <%= button_tag type: "submit", class: "action_button" do %> |
| 8 | <%= icon("search", library: "tabler", "aria-hidden": true) %> Search | ||
| 9 | <% end %> | ||
| 8 | <% if params[:q].present? || params[:kinds].present? || params[:tags].present? %> | 10 | <% if params[:q].present? || params[:kinds].present? || params[:tags].present? %> |
| 9 | <%= link_to "Reset", url_for(controller: params[:controller], action: params[:action]) %> | 11 | <%= link_to "Reset", url_for(controller: params[:controller], action: params[:action]) %> |
| 10 | <% end %> | 12 | <% end %> |
