diff options
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/views/cocktail_list.blade.php | 2 | ||||
| -rw-r--r-- | resources/views/fragments/cocktails.blade.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/resources/views/cocktail_list.blade.php b/resources/views/cocktail_list.blade.php index a0fc9a3..37d5627 100644 --- a/resources/views/cocktail_list.blade.php +++ b/resources/views/cocktail_list.blade.php @@ -31,6 +31,7 @@ Du hast nach {{ implode(" und ", $search_terms) }} gesucht: {{$count}} Cocktails gesucht. + @if ( ! empty($exclude_terms) ) Ausgeschlossen sind folgende Zutaten: @foreach( $exclude_terms as $term ) @@ -39,6 +40,7 @@ Du hast nach {{ implode(" und ", $search_terms) }} gesucht: {{$count}} Cocktails @endif <strong>{{ $term }}</strong> @endforeach + @endif </p> <p> diff --git a/resources/views/fragments/cocktails.blade.php b/resources/views/fragments/cocktails.blade.php index c6cd7ae..fa8a13f 100644 --- a/resources/views/fragments/cocktails.blade.php +++ b/resources/views/fragments/cocktails.blade.php @@ -34,7 +34,7 @@ <input type="text" class="form-control" id=ingredient_search_exclude name="i_ex[]" id="front_search_form" aria-describedby="suchform-help" placeholder="Ignoriere Cocktails mit dieser Zutat! (optional)"> </div--> </div> - <p id="front_search_help" class="form-text">Wie wäre es zum Beispiel mit einem Cocktail aus Gin und Kirschwasser?</p> + <p id="front_search_help" class="form-text">Tipp: Du kannst Zutaten verodern. "Jamaika $or$ Jamaica" findet beide Schreibweisen. Oder auch: "Peat $or$ Torf $or$ Islay"</p> <button class="btn btn-primary" type="button" onclick="addField()">Zutat hinzufügen</button> <button class="btn btn-primary" type="button" onclick="addFieldExclude()">Ausnahme hinzufügen</button> <button type="submit" class="btn btn-secondary">Suchen</button> |
