@extends('layouts.master') @section('css') @stop @section('content')
@if(Session::has('message_error'))
{!! Session::get('message_error') !!}
@endif @if(Session::has('message_success'))
{!! Session::get('message_success') !!}
@endif
{!! csrf_field() !!}
{!! Form::password('password_actual', $attributes = array('class' => 'form-control', 'id'=>'password_actual','required'=>'required')) !!}
@if($errors->has('clave actual')) {!! $errors->first('clave actual') !!} @else {!! " " !!} @endif
{!! Form::password('password_nuevo', $attributes = array('class' => 'form-control', 'id'=>'password_nuevo','required'=>'required')) !!}
@if($errors->has('clave nueva')) {!! $errors->first('clave nueva') !!} @else {!! " " !!} @endif
{!! Form::password('password_confirmar', $attributes = array('class' => 'form-control', 'id'=>'password_confirmar','required'=>'required')) !!}
@if($errors->has('clave confirmar')) {!! $errors->first('clave confirmar') !!} @else {!! " " !!} @endif
{!! Form::submit('Enviar', array('class' => 'btn btn-success', 'onclick' => 'this.disabled=true; this.value="Enviando"; this.form.submit()')) !!}
@stop @section('postscript') @stop