@extends('layouts.app')

@section('content')
<div class="card card-outline-info">
  <div class="card-header">
      <h4 class="m-b-0 text-white">Update Transaction Password <small>update transaction profile password</small></h4>
  </div>
  <div class="card-body">
    <div class="x_content">
      <form id="update-password" action="{{ url('/profile') }}" method="post" data-parsley-validate class="form-horizontal form-label-left">
        <input name="_method" type="hidden" value="PUT">
        {{ csrf_field() }}
        <div class="form-group">
          <label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Old Trx. Password <span class="required">*</span>
          </label>
          <div class="col-md-6 col-sm-6 col-xs-12">
            <input type="password" id="old-trx-password" name="old_trx_password" required="required" class="form-control col-md-7 col-xs-12" value="">
          </div>
        </div>
        <div class="form-group">
          <label class="control-label col-md-3 col-sm-3 col-xs-12" for="last-name">New Trx. Password <span class="required">*</span>
          </label>
          <div class="col-md-6 col-sm-6 col-xs-12">
            <input type="password" id="new-trx-password" name="new_trx_password" required="required" class="form-control col-md-7 col-xs-12" value="">
            @if ($errors->has('new_trx_password'))
                <span class="help-block">
                    <strong>{{ $errors->first('new_trx_password') }}</strong>
                </span>
            @endif
          </div>
        </div>
        <div class="form-group">
          <label for="middle-name" class="control-label col-md-3 col-sm-3 col-xs-12">Confirm New Trx. Password <span class="required">*</span></label>
          <div class="col-md-6 col-sm-6 col-xs-12">
            <input id="new-password-confirmation" class="form-control col-md-7 col-xs-12" name="new_trx_password_confirmation" type="password" value="" required="required">
          </div>
        </div>
        <div class="ln_solid"></div>
        <div class="form-group">
          <div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
            <button type="submit" class="btn btn-success">Update</button>
          </div>
        </div>

      </form>
    </div>
  </div>
</div>
        <!-- /page content -->
@endsection
