@extends('layouts.master') @section('title') {{ __('holiday') }} @endsection @section('content')
@if (Auth::user()->can('holiday-create'))

{{ __('create') . ' ' . __('holiday') }}

@csrf
{!! Form::text('date', null, ['required', 'placeholder' => __('date'), 'class' => 'datepicker-popup form-control','autocomplete'=>'off']) !!}
{!! Form::text('title', null, ['required', 'placeholder' => __('title'), 'class' => 'form-control']) !!}
{!! Form::textarea('description', null, ['rows' => '2', 'placeholder' => __('description'), 'class' => 'form-control']) !!}
@endif @if (Auth::user()->can('holiday-list'))

{{ __('list') . ' ' . __('holiday') }}

{!! Form::select('month', ['0' => 'All'] + $months, null, ['class' => 'form-control', 'id' => 'filter_month']) !!}
@if (Auth::user()->can('holiday-edit') || Auth::user()->can('holiday-delete')) @endif
{{ __('id') }} {{ __('no.') }} {{ __('date') }} {{ __('title') }} {{ __('description') }}{{ __('action') }}
@endif
@endsection