@extends('socialite::layouts.default') @section('content')

{{ trans('beers.filter') }}

@if(Auth::check()) @endif {!! Form::open(['id' => 'beer-list-form']) !!}
{{ Form::label('beerName', trans('beers.list.filters.beers'), ['id' => 'beer-name', 'class' => 'control-label']) }} {{ Form::text('beerName', null, ['class' => 'form-control']) }}
{{ Form::label('Linked brewery', trans('beers.list.filters.linked_brewery'), ['class' => 'control-label']) }} {{ Form::text('LinkedBrewery', null, ['id' => 'linked_Brewery', 'class' => 'form-control']) }}
{{ Form::label('Type', trans('beers.list.filters.type'),['class' => 'control-label'])}} @if($beerTypes >= 10)
Select

    @foreach($beerTypes as $beerTypeKey => $beerType)
  • {{ Form::checkbox('selectBeerType[]', $beerTypeKey, false, ['id' => 'beer-type-' . $beerTypeKey] ) }} {{ Form::label('beer-type-' . $beerTypeKey, $beerType) }}
  • @endforeach
@else @foreach($beerTypes as $beerTypeKey => $beerType)
{{ Form::checkbox('selectBeerType[]', $beerTypeKey, false, ['id' => 'beer-type-' . $beerTypeKey] ) }} {{ Form::label('beer-type-' . $beerTypeKey, $beerType) }}
@endforeach @endif
{{ Form::label('Color', trans('beers.list.filters.color'),['class' => 'control-label'])}} @if($beerColor >= 10)
Select

    @foreach($beerColor as $beerColorKey => $beerColorLabel)
  • {{ Form::checkbox('selectBeerColor[]', $beerColorKey, false, ['id' => 'beer-color-' . $beerColorKey] ) }} {{ Form::label('beer-color-' . $beerColorKey, $beerColorLabel) }}
  • @endforeach
@else @foreach($beerColor as $beerColorKey => $beerColorLabel)
{{ Form::checkbox('selectBeerColor[]', $beerColorKey, false, ['id' => 'beer-color-' . $beerColorKey] ) }} {{ Form::label('beer-color-' . $beerColorKey, $beerColorLabel) }}
@endforeach @endif
{{ Form::label('Fermentation', trans('beers.list.filters.fermentation'),['class' => 'control-label'])}} @foreach($beerFermentation as $beerFermentationKey => $beerFermentationLabel)
{{ Form::checkbox('selectBeerFermentation[]', $beerFermentationKey, false, ['id' => 'beer-fermentation-' . $beerFermentationKey] ) }} {{ Form::label('beer-fermentation-' . $beerFermentationKey, $beerFermentationLabel) }}
@endforeach
{{ Form::label('Transparency', trans('beers.list.filters.transparency'),['class' => 'control-label'])}} @foreach($beerTransparency as $beerTransparencyKey => $beerTransparencyLabel)
{{ Form::checkbox('selectBeerTransparency[]', $beerTransparencyKey, false, ['id' => 'beer-transparency-' . $beerTransparencyKey] ) }} {{ Form::label('beer-transparency-' . $beerTransparencyKey, $beerTransparencyLabel) }}
@endforeach
{!! Form::close() !!}
{{--@include('beers.list.partials.results')--}}
@endsection @section('bottom_js') @parent @endsection