24 lines
1.3 KiB
PHP
24 lines
1.3 KiB
PHP
<div class="title">
|
|
<h1 class="pattern">{{ $title }}</h1>
|
|
</div>
|
|
<form action="{{ route('recipes.index') }}">
|
|
<div class="search-field">
|
|
<div class="search">
|
|
<input type="text" name="search" placeholder="{{ __('Rechercher une recette') }}" value="{{ request()->query('search') }}">
|
|
<i class="fa fa-search"></i>
|
|
</div>
|
|
<input type="submit" value="{{ __('Rechercher') }}">
|
|
<div class="checkbox-wrap">
|
|
<label for="video_recipe" class="label_video">{{ __('Recette en vidéo') }}</label>
|
|
<div class="check">
|
|
<input type="checkbox" class="videobox magic-checkbox" name="video_recipe" id="video_recipe" @if(request()->query('video_recipe'))checked @endif>
|
|
<label for="video_recipe"></label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div class="wrap-btn-right">
|
|
<a href="{{ route('recipes.propose') }}" class="btn_cplm propose_recipe" title="{{ __('Proposer une recette') }}">{{ __('Proposer') }} <span>{{ __('Une recette') }}</span></a>
|
|
<a href="{{ auth('customer')->check() ? route('account.favs-recipes') : route('form-connexion') }}" class="btn_cplm favorite_recipe" title="{{ __('Recettes favorites') }}">{{ __('Recettes') }} <span>{{ __('Favorites') }}</span></a>
|
|
</div>
|
|
|