tissue/resources/views/auth/passwords/reset.blade.php
2017-11-06 00:49:10 +09:00

48 lines
2.2 KiB
PHP

@extends('layouts.base')
@section('content')
<div class="container">
<h2>パスワードの再発行</h2>
<hr>
<div class="row justify-content-center my-5">
<div class="col-12 text-center">
<p>新しいパスワードを入力し、<strong>パスワードを変更</strong>ボタンを押してください。</p>
</div>
<div class="col-lg-6">
<form method="post" action="{{ route('password.request') }}">
{{ csrf_field() }}
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group">
<label for="email"><span class="oi oi-envelope-closed"></span> メールアドレス</label>
<input id="email" name="email" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" type="text" value="{{ old('email') }}" required>
@if ($errors->has('email'))
<div class="invalid-feedback">{{ $errors->first('email') }}</div>
@endif
</div>
<div class="form-group">
<label for="password"><span class="oi oi-key"></span> パスワード</label>
<input id="password" name="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" type="password" required>
@if ($errors->has('password'))
<div class="invalid-feedback">{{ $errors->first('password') }}</div>
@endif
</div>
<div class="form-group">
<label for="password-confirm">パスワードの再入力</label>
<input id="password-confirm" name="password_confirmation" class="form-control" type="password" required>
@if ($errors->has('password_confirmation'))
<div class="invalid-feedback">{{ $errors->first('password_confirmation') }}</div>
@endif
</div>
<button class="btn btn-primary" type="submit">パスワードを変更</button>
</form>
</div>
</div>
</div>
@endsection