Skip to content
Open
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
4 changes: 2 additions & 2 deletions views/layout.pug
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,10 @@ html(lang="en")



form.form-inline.d-none.d-lg-inline(method="post", action="./search", style="width: 325px;")
form.form-inline.d-none.d-lg-inline(method="post", action="./search", style="width: 325px;", autocomplete="off")
input(type="hidden", name="_csrf", value=csrfToken)
.input-group
input.form-control(type="text", name="query", placeholder="block height/hash, txid, address", value=(query))
input.form-control(type="text", name="query", placeholder="block height/hash, txid, address", autocorrect="off", autocapitalize="off", tabindex="1")

button.btn.btn-primary(type="submit", aria-label="Search")
i.bi-search
Expand Down
6 changes: 2 additions & 4 deletions views/search.pug
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ block content
+pageTitle("Search")

+contentSection

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8

form.form.form-inline(method="post", action="./search")
form.form.form-inline(method="post", action="./search", autocomplete="off")
input(type="hidden", name="_csrf", value=csrfToken)

div.input-group
input.form-control(type="text", name="query", placeholder="block height/hash, txid, address", value=(query), style="width: 400px;")

input.form-control(type="text", name="query", placeholder="block height/hash, txid, address", tabindex="1", autocapitalize="off", autocorrect="off", style="width: 400px;")
button.btn.btn-primary(type="submit") Search