@extends('layouts.app') @section('title','Profile') @section('content')
@if(Session::has('message')) @endif {!! Form::open(['method'=>'PUT','action' => ['ProfileController@updatePassword']]) !!}

Change Password


{!! Form::label('old_password', 'Old Password') !!} {!! Form::password('old_password', ['class'=>'form-control', 'placeholder' =>'Old password']) !!} @if ($errors->has('old_password')) {{ $errors->first('old_password') }} @endif
{!! Form::label('password', 'Password') !!} {!! Form::password('password', ['class'=>'form-control', 'placeholder' =>'Password']) !!} @if ($errors->has('password')) {{ $errors->first('password') }} @endif
{!! Form::label('password_confirmation', 'Confirm Password') !!} {!! Form::password('password_confirmation', ['class'=>'form-control', 'placeholder' =>'Confirm password']) !!} @if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif
{!! Form::submit('Update Password', ['class'=>'btn btn-primary']) !!}
{!! Form::close() !!}
@endsection