@extends('layouts.admin') @section('content-title') {{ __('events.Edit Event') }} @endsection @section('css') @endsection @section('content-breadcrumbs') {{ Breadcrumbs::render('admin.event.edit')}} @endsection @section('content')
{!!Form::open()->locale('events')->put()->multipart()->route('admin.event.update')->fill($data)!!} {!!Form::hidden('id')!!}
{!!Form::text('title', 'Event Title')->placeholder(__('events.Event Title Placeholder...'))!!}
{{--
{{ __('events.Upload') }}
--}}
{!!Form::file('image')->attrs(['class' => 'custom-file-input', 'aria-describedby' => 'inputGroupFileAddon01'])->id("inputGroupFile01")!!}
@if($data->image == "Default-event.jpg") @else @endif
{{-- {!!Form::text('eventDates', 'Event Period', '')->attrs(['class' => 'form-control', 'style' => 'width:35%;'])->placeholder(__('events.Enter period!'))!!} --}}
{!!Form::hidden('_From')!!} {!!Form::hidden('_To')!!}
{!!Form::textarea('description', 'Description')->attrs(['style' => 'height: 200px;'])!!}
{!!Form::submit('Save')->id('my-btn')!!}
{!!Form::close()!!}
@endsection @section('javascript') {{-- Date Range Picker --}} {{-- Select2 --}} @endsection