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

{{ trans('promoters.filters') }}

@if(Auth::check()) {{ trans('promoters.add_a_promoter') }} @endif {!! Form::open(['id' => 'promoters-list-form']) !!}
{{ Form::label('beerName', trans('promoters.list.filters.linked_beers'), ['id' => 'beer-name', 'class' => 'control-label']) }} {{ Form::text('beerName', null, ['class' => 'form-control']) }}
{{ Form::label('location', trans('promoters.list.filters.location'), ['class' => 'control-label']) }}
{{ Form::radio('locationEverywhere', 1, true, ['id' => 'location-everywhere']) }} {{ Form::label('location-everywhere', trans('promoters.list.filters.everywhere'), ['class' => 'control-label', 'for' => 'location-everywhere']) }}
{{ Form::text('location', null, ['id' => 'location', 'class' => 'form-control', 'placeholder' => trans('promoters.list.filters.location_default')]) }}
{{ Form::label('type', trans('promoters.list.filters.type'), ['id' => 'type', 'class' => 'control-label']) }} @foreach($promoterTypes as $promoterTypeId => $promoterTypeLabel)
{{ Form::checkbox('promoterTypes[]', $promoterTypeId, false, ['id' => 'promoter-type-' . $promoterTypeId] ) }} {{ Form::label('promoter-type-' . $promoterTypeId, $promoterTypeLabel) }}
@endforeach {!! Form::close() !!}
{{-- @include('promoters.list.partials.results')--}}
@endsection @section('bottom_js') @parent @endsection