@extends('backend.layouts.app')
@section('title', app_name() . ' | ' . __('Leads Managment'))

@section('content')
    <div class="box box-success">
        <div class="box-header with-border">
            <h3 class="box-title">{{ trans('Upload') }}</h3>
        </div>

        <div class="box-body">
            <div class="form-group">
                <div class="col-sm-12">
                    <div class="nav-tabs-custom">
                        <ul class="nav nav-tabs"></ul>

                        <div class="tab-content">
                            <div class="tab-pane tab-margin active" id="company">

                                {{ Form::open(['route' => 'admin.superadmin.leads.store', 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'post','enctype'=>'multipart/form-data']) }}

                                <fieldset class="scheduler-border">
                                    <div class="control-group">
                                        <div class="form-group">
                                            <div class="col-lg-12">
                                            </div>
                                            <div class="col-lg-12">
                                                <div id="uploadFormLayer">
                                                    <label>Upload:</label>
                                                    <input name="file" type="file" class="inputFile"/>
                                                    {{--                                             {{ Form::fileGroup('csv', trans('validation.attributes.backend.upload_tasks.csv')) }}--}}
                                                </div>
                                                <div class="col-lg-12">
                                                </div>

                                            </div>
                                        </div>
                                        <div class="setting-buttons clearfix">
                                            <div class="form-group no-margin">
                                                {!! Form::button('<span class="fa fa-save"></span> &nbsp;' . trans('general.submit'), ['type' => 'submit', 'class' => 'btn btn-success']) !!}
                                                <a href="{{ URL::previous() }}" class="btn btn-default"><span
                                                            class="fa fa-times-circle"></span>
                                                    &nbsp;{{ trans('general.cancel') }}</a>
                                            </div>
                                        </div>
                                </fieldset>
                                {{Form::Close()}}
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>
@endsection