blue-twilight/resources/views/themes/base/auth/passwords/email.blade.php

48 lines
2.1 KiB
PHP
Raw Normal View History

@extends('themes.base.layout')
2016-09-06 14:19:16 +01:00
@section('title', trans('auth.forgot_password_title'))
@section('content')
2016-09-06 14:19:16 +01:00
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">@yield('title')</div>
<div class="panel-body">
@if (session('status'))
<div class="alert alert-success">
{{ session('status') }}
</div>
@endif
2016-09-06 14:19:16 +01:00
<form class="form-horizontal" role="form" method="POST" action="{{ url('/password/email') }}">
{{ csrf_field() }}
2016-09-06 14:19:16 +01:00
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<label for="email" class="col-md-4 control-label">@lang('forms.email_label')</label>
2016-09-06 14:19:16 +01:00
<div class="col-md-6">
<input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}">
2016-09-06 14:19:16 +01:00
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
</div>
</div>
2016-09-06 14:19:16 +01:00
<div class="form-group">
<div class="col-md-6 col-md-offset-4 text-right">
<button type="submit" class="btn btn-success">
Send Password Reset Link
</button>
</div>
</div>
2016-09-06 14:19:16 +01:00
</form>
</div>
</div>
</div>
</div>
</div>
@endsection