56 lines
No EOL
2.5 KiB
PHP
56 lines
No EOL
2.5 KiB
PHP
@extends('layouts.base')
|
|
|
|
@section('content')
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-md-6 col-md-offset-3">
|
|
@include('shared.session-flash')
|
|
@include('shared.validation-errors')
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title">Password</h4>
|
|
</div>
|
|
<div class="panel-body">
|
|
<form method="post" action="/settings/update/password">
|
|
{{ csrf_field() }}
|
|
{{ method_field('PATCH') }}
|
|
<div class="form-group">
|
|
<h4>Change Password</h4>
|
|
<label>Old Password</label>
|
|
<input type="password" class="form-control" name="password_old" required>
|
|
<br>
|
|
<label>New Password</label>
|
|
<input type="password" class="form-control" name="password" required>
|
|
<br>
|
|
<label>Repeat New Password</label>
|
|
<input type="password" class="form-control" name="password_confirmation" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4 class="panel-title">Email</h4>
|
|
</div>
|
|
<div class="panel-body">
|
|
<form method="post" action="/settings/update/email">
|
|
{{ csrf_field() }}
|
|
{{ method_field('PATCH') }}
|
|
<div class="form-group">
|
|
<h4>Change Email</h4>
|
|
<label>Email</label>
|
|
<input type="email" class="form-control" name="email" value="{{ $user->email }}" required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label>Password</label>
|
|
<input type="password" class="form-control" name="password" required>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@stop |