diff options
| author | horus | 2019-05-19 20:54:05 +0200 |
|---|---|---|
| committer | horus | 2019-05-19 20:54:05 +0200 |
| commit | 95f37787bfe32eb5ce37afbee9c68bd233edffda (patch) | |
| tree | 69a9e0c86b06b9cecf84e666031b6f496bddecea /resources/views/snippets | |
| parent | 924f23c1c6b5deeea44b08c7d3032426826fa3bb (diff) | |
| download | kategorischeraperitif-95f37787bfe32eb5ce37afbee9c68bd233edffda.tar.gz | |
Adds search by spirit type.
Diffstat (limited to 'resources/views/snippets')
| -rw-r--r-- | resources/views/snippets/spirittypesbuttons.blade.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/resources/views/snippets/spirittypesbuttons.blade.php b/resources/views/snippets/spirittypesbuttons.blade.php new file mode 100644 index 0000000..0f0a5a5 --- /dev/null +++ b/resources/views/snippets/spirittypesbuttons.blade.php @@ -0,0 +1,14 @@ +<?php +if ( isset($spirit_types) && 0 < count($spirit_types) ) { +?> +<div class="btn-toolbar mb-2 mt-2 align-top w-100" role="toolbar" aria-label="Sorten"> +<?php + foreach( $spirit_types as $o ) { +?> + <a class="btn btn-white" href="/angebote/search?type={{ $o->spirit_type }}">{{ $o->spirit_type }}</a> +<?php + } +?> +</div></p> +<?php +} |
