@extends('layouts.master')

@section('pageTitle') @include('layouts.includes.title', ['moduleTitle' => __('locale.reset_password')]) @stop

@section('pageBreadcrumb') @include('layouts.includes.breadcrumb', ['moduleTitle' => __('locale.reset_password') ]) @stop

@section('quick_link')
@stop

@section('content')
    <div class="row">
        <div class="col-sm-12">
            <div class="card-box">
                @include('layouts.modules.header', [ 'title' => __('locale.reset_password')])
                <div class="card-body row">
                    {!! Form::open([ 'route' => 'reset-password.index' , "method" => "POST"]) !!}
                    <div class="row">
                        {!!  Form::openGroup('email', 'locale.email', array("lbl_class" => "required", 'class' => 'col-lg-12')) !!}
                        {!!  Form::select('email', $emailIds,old('email'), array("required" => "true", 'class'=> 'mdl-textfield__input form-control','defaultTxt' => trans( 'locale.select' ) ) ) !!}
                        {!!  Form::closeGroup() !!}
                    </div>
                    <div class="row">
                        {!!  Form::openGroup('new_password', 'locale.new_password', array("lbl_class" => "required", 'class' => 'col-lg-12')) !!}
                        {!!  Form::password('new_password', array("required" => "true")) !!}
                        {!!  Form::closeGroup() !!}
                    </div>
                    <div class="row">
                        {!!  Form::openGroup('new_confirm_password', 'locale.new_confirm_password', array("lbl_class" => "required", 'class' => 'col-lg-12')) !!}
                        {!!  Form::password('new_confirm_password', array("required" => "true")) !!}
                        {!!  Form::closeGroup() !!}
                    </div>
                </div>

            </div>
            <div class="row"> @include('layouts.forms.actions')</div>
            {!! Form::close() !!}
        </div>
@stop
@push('scripts')
@endpush
