@extends('manager::template.page')
@section('content')
    @push('scripts.top')
        <script>
          var actions = {
            save: function() {
              documentDirty = false;
              document.userform.save.click();
            },
            cancel: function() {
              documentDirty = false;
              document.location.href = 'index.php?a=2';
            }
          };
        </script>
    @endpush

    <h1>
        <i class="{{ $_style['icon_lock'] }}"></i>{{ ManagerTheme::getLexicon('change_password') }}
    </h1>

    @include('manager::partials.actionButtons', $actionButtons)

    <div class="tab-page">
        <div class="contaier container-body">
            <form name="userform" method="post" action="index.php">
                <input type="hidden" name="a" value="34">
                <p>{{ ManagerTheme::getLexicon('change_password_message') }}</p>
                @include('manager::form.input', [
                    'name' => 'password',
                    'type' => 'password',
                    'label' => ManagerTheme::getLexicon('change_password_new'),
                    'value' => ''
                ])
                @include('manager::form.input', [
                    'name' => 'password_confirmation',
                    'type' => 'password',
                    'label' => ManagerTheme::getLexicon('change_password_confirm'),
                    'value' => ''
                ])
                <input type="submit" name="save" style="display:none">
            </form>
        </div>
    </div>
@endsection
