tissue/resources/views/auth/passwords/reset.blade.php

50 lines
2.2 KiB
PHP
Raw Normal View History

2017-11-06 00:49:10 +09:00
@extends('layouts.base')
2017-08-27 04:44:53 +09:00
2019-01-08 23:27:48 +09:00
@section('title', 'パスワードの再発行')
2017-08-27 04:44:53 +09:00
@section('content')
<div class="container">
2017-11-06 00:49:10 +09:00
<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() }}
2017-08-27 04:44:53 +09:00
2017-11-06 00:49:10 +09:00
<input type="hidden" name="token" value="{{ $token }}">
2017-08-27 04:44:53 +09:00
2017-11-06 00:49:10 +09:00
<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="email" value="{{ old('email') }}" required>
2017-08-27 04:44:53 +09:00
2017-11-06 00:49:10 +09:00
@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>
2017-08-27 04:44:53 +09:00
2017-11-06 00:49:10 +09:00
@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>
2017-08-27 04:44:53 +09:00
2017-11-06 00:49:10 +09:00
@if ($errors->has('password_confirmation'))
<div class="invalid-feedback">{{ $errors->first('password_confirmation') }}</div>
@endif
2017-08-27 04:44:53 +09:00
</div>
2017-11-06 00:49:10 +09:00
<button class="btn btn-primary" type="submit">パスワードを変更</button>
</form>
2017-08-27 04:44:53 +09:00
</div>
</div>
</div>
@endsection