@extends('layouts.app')
{{-- Customize layout sections --}}
@section('subtitle', 'GUESTS')
@section('content_header_title', 'GUESTS')
@section('content_header_subtitle', 'LIST')
{{-- Content body: main page content --}}
@section('content_body')
@can('guest create')
{{html()->form('POST', route('guest.upload'))->acceptsFiles()->open()}}
{{html()->label('Upload File', 'guest_file')}}
{{html()->file('guest_file')->class('form-control'.($errors->has('guest_file') ? ' is-invalid' : ''))->accept('.csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel')}}
{{$errors->first('guest_file')}}
{{html()->form()->close()}}
@stop
{{-- Push extra CSS --}}
@push('css')
{{-- Add here extra stylesheets --}}
@endpush
{{-- Push extra scripts --}}
@push('js')
@endpush