14 lines
367 B
Text
14 lines
367 B
Text
<h1>Hello, Rails!</h1>
|
|
|
|
<h1>Search for a package/description:</h1>
|
|
<form action="/packages" method="get">
|
|
<div>
|
|
<input id="search" name="search" type="text" />
|
|
</div>
|
|
</form>
|
|
|
|
|
|
<%= form_tag("/packages", method: "get") do %>
|
|
<%= text_field_tag :search, '', autofocus: true, placeholder: 'Search criteria...' %>
|
|
<%= submit_tag "Search" %>
|
|
<% end %>
|