projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add searching to the games controller
[cs356-p2-videostore.git]
/
app
/
views
/
game
/
searchbyname.rhtml
diff --git a/app/views/game/searchbyname.rhtml
b/app/views/game/searchbyname.rhtml
new file mode 100644
(file)
index 0000000..
a5a4f8b
--- /dev/null
+++ b/
app/views/game/searchbyname.rhtml
@@ -0,0
+1,8
@@
+<h1>Search for a Game by Name</h1>
+
+<%= start_form_tag :action => 'searchresults'%>
+<%= text_field 'q', nil %>
+ <%= submit_tag 'Search' %></form>
+<%= end_form_tag %>
+
+<br />