From 561d802e78e60180082b908e115aefa544f7e7a9 Mon Sep 17 00:00:00 2001 From: Chase Wilson <contact@chasewilson.dev> Date: Tue, 7 Jul 2020 12:59:23 -0600 Subject: [PATCH] Missing macro import --- templates/rustdoc/navigation.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/rustdoc/navigation.html b/templates/rustdoc/navigation.html index c56d1f947..94c0efddb 100644 --- a/templates/rustdoc/navigation.html +++ b/templates/rustdoc/navigation.html @@ -1,3 +1,5 @@ +{%- import "macros.html" as macros -%} + {# The url of the current release, `/crate/:name/:version` #} {%- set crate_url = "/crate/" ~ krate.name ~ "/" ~ krate.version -%} @@ -6,7 +8,10 @@ <div class="pure-menu pure-menu-horizontal"> <form action="/releases/search" method="GET" class="landing-search-form-nav"> <div id="search-input-nav"> - <label for="nav-search"><i class="fa fa-fw fa-search"></i></label> + <label for="nav-search"> + <i class="fa fa-fw fa-search"></i> + </label> + <input id="nav-search" name="query" tabindex="-1" type="text" aria-label="Find crate by search query" placeholder="Find crate"> </div>