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

50 lines
2.3 KiB
PHP
Raw Permalink Normal View History

@extends(Theme::viewName('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 mr-md-auto ml-md-auto">
<div class="card">
<div class="card-header">
<ul class="nav nav-tabs card-header-tabs">
<li class="nav-item">
<a class="nav-link active" href="{{ url('/password/reset') }}">@yield('title')</a>
</li>
</ul>
</div>
<div class="card-body">
<form role="form" method="POST" action="{{ url('/password/email') }}">
2016-09-06 14:19:16 +01:00
{{ csrf_field() }}
<div class="form-group row">
<label for="email" class="col-md-4 col-form-label text-md-right">@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{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}">
2016-09-06 14:19:16 +01:00
@if ($errors->has('email'))
<div class="invalid-feedback">
2016-09-06 14:19:16 +01:00
<strong>{{ $errors->first('email') }}</strong>
</div>
2016-09-06 14:19:16 +01:00
@endif
</div>
</div>
<div class="form-group row">
<div class="col-md-4"><!-- --></div>
<div class="col-md-6 text-right">
<a href="{{ url('/login') }}" class="btn btn-link">@lang('forms.cancel_action')</a>
2016-09-06 14:19:16 +01:00
<button type="submit" class="btn btn-success">
<i class="fa fa-fw fa-check"></i> @lang('auth.forgot_password_action')
2016-09-06 14:19:16 +01:00
</button>
</div>
</div>
2016-09-06 14:19:16 +01:00
</form>
</div>
</div>
</div>
</div>
</div>
@endsection