1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 09:21:34 +02:00
invoiceninja/resources/views/auth/password.blade.php

54 lines
1.4 KiB
PHP
Raw Normal View History

2017-02-15 23:47:37 +01:00
@extends('login')
2015-03-16 22:45:25 +01:00
2017-02-15 23:47:37 +01:00
@section('form')
2015-03-16 22:45:25 +01:00
<div class="container">
2016-04-15 12:25:58 +02:00
{!! Former::open('recover_password')->rules(['email' => 'required|email'])->addClass('form-signin') !!}
2015-03-16 22:45:25 +01:00
2017-02-15 23:47:37 +01:00
<h2 class="form-signin-heading">{{ trans('texts.password_recovery') }}</h2>
<hr class="green">
2015-03-30 17:20:53 +02:00
@if (count($errors->all()))
<div class="alert alert-danger">
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</div>
@endif
@if (session('status'))
<div class="alert alert-info">
{{ session('status') }}
</div>
@endif
2015-03-16 22:45:25 +01:00
2017-02-16 04:00:13 +01:00
<!-- if there are login errors, show them here -->
2015-03-16 22:45:25 +01:00
@if (Session::has('warning'))
2017-02-15 23:47:37 +01:00
<div class="alert alert-warning">{{ Session::get('warning') }}</div>
2015-03-16 22:45:25 +01:00
@endif
@if (Session::has('message'))
2017-02-15 23:47:37 +01:00
<div class="alert alert-info">{{ Session::get('message') }}</div>
2015-03-16 22:45:25 +01:00
@endif
@if (Session::has('error'))
2017-02-15 23:47:37 +01:00
<div class="alert alert-danger">{{ Session::get('error') }}</div>
2015-03-16 22:45:25 +01:00
@endif
2017-02-15 23:47:37 +01:00
<div>
{!! Former::text('email')->placeholder(trans('texts.email_address'))->raw() !!}
</div>
{!! Button::success(trans('texts.send_email'))->large()->submit()->withAttributes(['class' => 'green'])->block() !!}
2015-03-24 08:37:02 +01:00
{!! Former::close() !!}
2015-03-16 22:45:25 +01:00
</div>
2015-05-09 20:25:16 +02:00
<script type="text/javascript">
$(function() {
2016-08-22 15:45:34 +02:00
$('#email').focus();
2015-05-09 20:25:16 +02:00
})
</script>
2016-08-22 15:45:34 +02:00
@stop