]> BookStack Code Mirror - bookstack/blob - resources/views/partials/entity-dashboard-search-box.blade.php
Made a mass of accessibility improvements
[bookstack] / resources / views / partials / entity-dashboard-search-box.blade.php
1 <div class="mb-xl">
2     <form v-on:submit.prevent="searchBook" class="search-box flexible">
3         <input v-model="searchTerm" v-on:change="checkSearchForm" type="text" aria-label="{{ trans('entities.books_search_this') }}" name="term" placeholder="{{ trans('entities.books_search_this') }}">
4         <button type="submit" aria-label="{{ trans('common.search') }}">@icon('search')</button>
5         <button v-if="searching" v-cloak class="search-box-cancel text-neg" v-on:click="clearSearch"
6                 type="button" aria-label="{{ trans('common.search_clear') }}">@icon('close')</button>
7     </form>
8 </div>