@extends('layout')
@section('title')
    <i class="fa fa-lock"></i> Change your password
@endsection
@section('content')
    <div class="row">
        <div class="col-xs-12">
            <form method="post" action="{{ URL::action('UserController@postChangePassword') }}">
                {!! csrf_field() !!}
                <div class="form-group">
                    <label class="control-label">Old Password</label>
                    <input type="password" name="oldPassword" class="form-control">
                </div>
                <div class="form-group">
                    <label class="control-label">New Password</label>
                    <input type="password" name="newPassword" class="form-control">
                </div>
                <div class="form-actions">
                    <button type="submit" class="btn btn-green">Update</button>
                </div>
            </form>
        </div>
    </div>

@endsection