Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ body {
@media only screen and (max-width: 820px) {
.menu { display: block; }
.nav { display: none; }
div.search { display: none; }
form.search { display: none; }
}
}

Expand Down
6 changes: 3 additions & 3 deletions app/templates/application.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
<h1>CARGO</h2>
{{/link-to}}

<div class='search'>
{{input type="text" class="search"
<form class='search' action='/search' {{ action "" on="submit" }} >
{{input type="text" class="search" name="q"
placeholder="Search"
value=search
action="search"}}
</div>
</form>

<div class='nav'>
{{#link-to "crates" (query-params letter="null" page=1)}}
Expand Down