@extends('templates.backend')
@section('page-title', isset($page_title) ? $page_title : 'Change Password')
@section('breadcrumbs')
{!! App\Helpers\Breadcrumbs::generate([
'My Account' => ['backend.users.show', auth()->user()->id],
'Change Password' => null,
]); !!}
@stop
@section('content')
{!! Form::open(['route' => 'backend.my_account.change_password.post']) !!}
@if($check_current_password)
{!! Form::label('current_password', 'Current Password *') !!}
{!! Form::password('current_password', ['class'=>'form-control']) !!}
@endif
{!! Form::label('password', 'New Password *') !!}
{!! Form::password('password', ['class'=>'form-control']) !!}
{!! Form::label('password_confirmation', 'Password Confirmation *') !!}
{!! Form::password('password_confirmation', ['class'=>'form-control']) !!}
{!! Form::submit('Update Password', ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@stop