1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/app/views/users/reset_password.blade.php

85 lines
1.9 KiB
PHP
Raw Normal View History

2014-01-09 20:00:08 +01:00
@extends('master')
@section('head')
2014-02-19 14:28:29 +01:00
<link href="{{ asset('vendor/bootstrap/dist/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css"/>
2014-01-09 20:00:08 +01:00
<style type="text/css">
body {
padding-top: 40px;
padding-bottom: 40px;
background-color: #eee !important;
}
.form-signin {
max-width: 450px;
padding: 15px;
margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
margin-bottom: 10px;
}
.form-signin .checkbox {
font-weight: normal;
}
.form-signin .form-control {
position: relative;
font-size: 16px;
height: auto;
padding: 10px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.form-signin .form-control:focus {
z-index: 2;
}
.form-signin input[type="text"] {
margin-bottom: -1px;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.form-signin input[type="password"] {
margin-bottom: 10px;
border-top-left-radius: 0;
border-top-right-radius: 0;
}
</style>
@stop
@section('body')
<div class="container">
2014-01-13 20:22:43 +01:00
{{ Former::open('user/reset')->addClass('form-signin')->rules(array(
'password' => 'required',
'password_confirmation' => 'required',
)); }}
2014-01-09 20:00:08 +01:00
<h2 class="form-signin-heading">Passord Reset</h2>
<input type="hidden" name="token" value="{{{ $token }}}">
<p>
{{ Former::password('password') }}
{{ Former::password('password_confirmation')->label('Confirm') }}
</p>
<p>{{ Button::primary_submit('Save', array('class' => 'btn-lg'))->block() }}</p>
<!-- if there are login errors, show them here -->
@if ( Session::get('error') )
<div class="alert alert-error">{{{ Session::get('error') }}}</div>
@endif
@if ( Session::get('notice') )
<div class="alert">{{{ Session::get('notice') }}}</div>
@endif
{{ Former::close() }}
</div>
@stop