@section('title', __('site.page_polls_new_title')) @section('head') @endsection @include('includes/header') @include('includes/topSite')

{{ __('site.page_polls_new_h1') }}

@if (\Session::has('error_name'))
{!! \Session::get('error_name') !!}
@endif
@if (\Session::has('error_opt0'))
{!! \Session::get('error_opt0') !!}
@endif
@if (\Session::has('error_opt1'))
{!! \Session::get('error_opt1') !!}
@endif
@if(old('options') && count(old('options')) > 1) @php $i=0; foreach(old('options') as $field){ if($i > 1){ if(!old('options')[$i]){ $addon = '
'.__('site.site_input_req').'
'; } echo '
'.$addon.'
'; } $addon = ''; $i++; } @endphp @endif
@include('includes/footer')