snipe-it/resources/views/auth/passwords/email.blade.php

62 lines
2 KiB
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
@extends('layouts/basic')
{{-- Page content --}}
@section('content')
@if ($snipeSettings->custom_forgot_pass_url)
<a href="{{ $snipeSettings->custom_forgot_pass_url }}" rel="noopener">{{ trans('auth/general.forgot_password') }}</a>
@else
<form class="form" role="form" method="POST" action="{{ url('/password/email') }}">
{!! csrf_field() !!}
2016-03-25 01:18:05 -07:00
<div class="container">
<div class="row">
2016-08-02 12:39:49 -07:00
<div class="col-md-4 col-md-offset-4">
<div class="box login-box" style="width: 100%">
<div class="box-header">
2020-03-31 23:36:56 -07:00
<h2 class="box-title"> {{ trans('auth/general.send_password_link') }}</h2>
2016-03-25 01:18:05 -07:00
</div>
<div class="login-box-body">
<div class="row">
<!-- Notifications -->
@include('notifications')
<div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
<div class="col-md-12">
<input type="email" class="form-control" name="email" value="{{ old('email') }}" placeholder="{{ trans('admin/users/table.email') }}">
{!! $errors->first('email', '<span class="alert-msg"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
</div>
</div>
2016-03-25 01:18:05 -07:00
</div>
</div>
<div class="box-footer">
<button type="submit" class="btn btn-lg btn-primary btn-block">
{{ trans('auth/general.email_reset_password') }}
2016-03-25 01:18:05 -07:00
</button>
</div>
</div>
2016-03-25 01:18:05 -07:00
</div>
</div>
</div>
</form>
@endif
@stop