菜谱项目

email.blade.php 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. @extends('layouts.app')
  2. @section('content')
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-md-8 col-md-offset-2">
  6. <div class="panel panel-default">
  7. <div class="panel-heading">Reset Password</div>
  8. <div class="panel-body">
  9. @if (session('status'))
  10. <div class="alert alert-success">
  11. {{ session('status') }}
  12. </div>
  13. @endif
  14. <form class="form-horizontal" method="POST" action="{{ route('password.email') }}">
  15. {{ csrf_field() }}
  16. <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
  17. <label for="email" class="col-md-4 control-label">E-Mail Address</label>
  18. <div class="col-md-6">
  19. <input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required>
  20. @if ($errors->has('email'))
  21. <span class="help-block">
  22. <strong>{{ $errors->first('email') }}</strong>
  23. </span>
  24. @endif
  25. </div>
  26. </div>
  27. <div class="form-group">
  28. <div class="col-md-6 col-md-offset-4">
  29. <button type="submit" class="btn btn-primary">
  30. Send Password Reset Link
  31. </button>
  32. </div>
  33. </div>
  34. </form>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. @endsection