mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
- Add search form partial
This commit is contained in:
parent
58dc837a14
commit
6b48e99eaa
1 changed files with 17 additions and 0 deletions
17
web/app/views/search/_searchform.html.erb
Normal file
17
web/app/views/search/_searchform.html.erb
Normal file
|
@ -0,0 +1,17 @@
|
|||
<div class="searchBar">
|
||||
<span>
|
||||
<%= form :action => url(:controller => "search", :action => "query"),
|
||||
:method => :get do %>
|
||||
<%= text_field :name => "q", :label => "Query: ", :value => escape_html(params[:q]), :size => 100 %>
|
||||
<!--
|
||||
<%= text_field :name => "log_type", :label => "log type", :value => escape_html(params[:log_type]) %>
|
||||
<br>
|
||||
-->
|
||||
<%= submit "Search" %>
|
||||
<% end =%>
|
||||
</span>
|
||||
|
||||
<span class="logstash-logo">
|
||||
logstash.
|
||||
</span>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue