@extends('layouts.master') @section('title') Change Password @stop @section('content')

Change Password

{{ Form::open(['role' => 'form', 'action' => array('AdminController@putChangePassword'), 'method' => 'PUT']) }}
{{ Form::label('current_password', 'Current Password') }} {{ Form::text('current_password', null, ['placeholder' => 'Current Password', 'class' => 'form-control', 'required']) }} @if ($errors->has('current_password'))
{{ $errors->first('current_password') }}
@endif
{{ Form::label('new_password', 'Password') }} {{ Form::text('new_password', null, ['placeholder' => 'Password', 'class' => 'form-control', 'required']) }} {{ Form::label('confirm_password', 'Name') }} {{ Form::text('confirm_password', null, ['placeholder' => 'Name', 'class' => 'form-control', 'required']) }} @if ($errors->has('confirm_password'))
{{ $errors->first('confirm_password') }}
@endif
{{ Form::submit('Change Password', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}
@stop