diff options
| author | horus | 2022-09-25 03:51:14 +0200 |
|---|---|---|
| committer | horus | 2022-09-25 03:51:14 +0200 |
| commit | 6b59ee2a6427431a1d5e76bf70f8c5e97b10eb3e (patch) | |
| tree | abb07501bd6305fa2a5f3a0242d5242b16d5aa9a /resources/views | |
| parent | acbe243bcd4c2dade2a834ce6bdedf46d1d10ae2 (diff) | |
| download | kategorischeraperitif-6b59ee2a6427431a1d5e76bf70f8c5e97b10eb3e.tar.gz | |
Verodern der Zutaten möglich.
Diffstat (limited to 'resources/views')
| -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> |
