Skip to content

Commit

Permalink
Add attributes to search box (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Sep 19, 2022
1 parent 83700d0 commit 86e5883
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/subcommand/server/templates/home.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ mod tests {
"<h1>Ordinals</h1>
<nav>.*</nav>
<h2>Search</h2>
<form action=/search method=get>
<input type=text name=query>
<input type=submit>
</form>
<form action=/search method=get>.*</form>
<h2>Recent Blocks</h2>
<ol start=1 reversed class=monospace>
<li><a href=/block/1{64} class=uncommon>1{64}</a></li>
Expand Down
2 changes: 1 addition & 1 deletion templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1>Ordinals</h1>
</nav>
<h2>Search</h2>
<form action=/search method=get>
<input type=text name=query>
<input autocapitalize=off autocomplete=off autocorrect=off autofocus name=query spellcheck=false type=text>
<input type=submit>
</form>
<h2>Recent Blocks</h2>
Expand Down

0 comments on commit 86e5883

Please sign in to comment.