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

80 lines
3.3 KiB
PHP
Raw Normal View History

2016-03-25 01:18:05 -07:00
@extends('layouts/basic')
{{-- Page content --}}
2016-03-25 01:18:05 -07:00
@section('content')
<form class="form-horizontal" role="form" method="POST" action="{{ url('/password/reset') }}">
{!! csrf_field() !!}
2016-03-25 01:18:05 -07:00
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<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.reset_password') }}</h2>
</div>
<div class="login-box-body">
<div class="row">
<!-- Notifications -->
@include('notifications')
2016-03-25 01:18:05 -07:00
<input type="hidden" name="token" value="{{ $token }}">
<div class="form-group{{ $errors->has('username') ? ' has-error' : '' }}">
<label class="col-md-4 control-label">{{ trans('admin/users/table.username') }}</label>
<div class="col-md-6">
<input type="text" class="form-control" name="username" value="{{ old('username', $username) }}">
{!! $errors->first('username', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
2016-03-25 01:18:05 -07:00
</div>
</div>
<div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
2020-04-01 04:29:54 -07:00
<label class="col-md-4 control-label" for="password">{{ trans('admin/users/table.password') }}</label>
2016-03-25 01:18:05 -07:00
<div class="col-md-6">
2020-04-01 04:29:54 -07:00
<input type="password" class="form-control" name="password" aria-label="password">
2020-04-01 03:21:15 -07:00
{!! $errors->first('password', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
2016-03-25 01:18:05 -07:00
</div>
</div>
<div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
2020-04-01 04:29:54 -07:00
<label class="col-md-4 control-label" for="password_confirmation">{{ trans('admin/users/table.password_confirm') }}</label>
2016-03-25 01:18:05 -07:00
<div class="col-md-6">
2020-04-01 04:29:54 -07:00
<input type="password" class="form-control" name="password_confirmation" aria-label="password_confirmation">
2020-04-01 03:21:15 -07:00
{!! $errors->first('password_confirmation', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
2016-03-25 01:18:05 -07:00
</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.reset_password') }}
</button>
</div>
</div>
2016-03-25 01:18:05 -07:00
</div>
</div>
</div>
</form>
@stop