@extends('layouts.default')

{{-- Web site Title --}}
@section('title')
@parent
Отправить активационное письмо
@stop

{{-- Content --}}
@section('content')
<div class="row">
    <div class="col-md-4 col-md-offset-4">
        {{ Form::open(array('action' => 'UserController@resend', 'method' => 'post')) }}

            <h2>Отправить активационное письмо на почту</h2>

            <div class="form-group {{ ($errors->has('phone')) ? 'has-error' : '' }}">
								{{ Form::label( 'email', 'E-mail:', array('class' => 'control-label') ) }}
                {{ Form::text('email', null, array('class' => 'form-control', 'placeholder' => 'Введите логин', 'autofocus')) }}
                {{ ($errors->has('phone') ? $errors->first('phone') : '') }}
            </div>

            {{ Form::submit('Отправить', array('class' => 'btn btn-primary')) }}

        {{ Form::close() }}
    </div>
</div>

@stop
