@extends('template.homepage')
@section('content')
@if ( $errors->count() > 0 )
Inserisci la tua e-mail o il tuo numero di cellulare per cancellarti dalla Newsletter
{{ Form::open(array('url' => URL::to('/unsubscribe', [], true), 'method' => 'post', 'role' => 'form', 'id' => 'unsubForm'))}}
{{ Form::hidden('hash', $hash)}}
{{ Form::label('delemail', 'E-mail:', array('class' => 'control-label'))}}
{{ Form::email('delemail', '', array('class' => 'form-control', 'max-length' => '50', 'autocomplete' => 'off', 'placeholder' => 'La tua e-mail'))}}
{{ Form::label('delmobile', 'Cellulare:', array('class' => 'control-label'))}}
{{ Form::text('delmobile', '', array('class' => 'form-control', 'max-length' => '15', 'autocomplete' => 'off', 'placeholder' => 'Il tuo cellulare'))}}
{{ Form::captcha() }}
@if ($errors->has('captcha'))
{{ $errors->first('captcha') }}
@endif
{{ Form::submit('Cancellami', array('class' => 'btn btn-sm btn-primary'))}}
{{ Form::close() }}