<form action="/search/results" method="get" class="search-form">
    <% if (locals.error === "address") { %>
        <p>L'adresse n'a pas été reconnue.</p>
    <% } %>
    <h3 class="home__form__jnstruction">Entrez une adresse pour trouver dans quelle circonscription elle se trouve :
    </h3>
    <div class="home__form__line home__form__street">
        <div class="home__form__field-block home__form__street__number">
            <label for="streetnumber">Numéro</label>
            <input class="home__form__field" type="text" placeholder="126" name="streetnumber" id="streetnumber">
        </div>
        <div class="home__form__field-block home__form__street__name">
            <label for="streetname">Nom de rue</label>
            <input class="home__form__field" type="text" placeholder="Rue de l'Université" name="streetname" id="streetname" required
                aria-required="true">
        </div>
    </div>
    <div class="home__form__line home__form__town">
        <div class="home__form__field-block home__form__town__zip">
            <label for="townzip">Code postal</label>
            <input class="home__form__field" type="text" placeholder="75007" name="townzip" id="townzip" minlength="5" size="6" required
                aria-required="true">
        </div>
        <div class="home__form__field-block home__form__town__name">
            <label for="townname">Commune</label>
            <input class="home__form__field" type="text" placeholder="Paris" name="townname" id="townname" required aria-required="true">
        </div>
    </div>
    <div class="home__form__submit-btn__container">
        <input class="home__form__submit-btn" type="submit" value="Trouver ma circonscription">
    </div>
    <div class="home__form__disclaimer">
        <p>Votre adresse ne sera pas conservée à l'issue de la recherche.</p>
    </div>
</form>