{{ Form::open(['route' => 'register', 'id' => 'form']) }}
{{ Form::label('name', 'Nome') }}
{{ Form::text('name', @session('name'), ['class' => 'form-control', 'required' => 'required', 'autofocus' => 'autofocus']) }}
Endereço
{{ Form::label('bairro', 'Bairro') }}
{{ Form::select('bairro', $bairros->pluck('nome', 'id'), null, ['id' => 'bairros', 'class' => 'form-control', 'required' => 'required', 'placeholder' => 'Selecione...']) }}
@if (session('avatar'))
{{ Form::hidden('avatar', session('avatar')) }}
@endif
{{ Form::submit('Cadastrar', ['class' => 'button button-md fs-md font-weight-light bg-gradient text-white text-uppercase rounded btn-block btn-md-inline-block']) }}