@extends('admin.layouts.app') @section('content')

{{$section->title}}

{{-- @include('admin.components.alert') --}}
{!! Form::model($photo, ['route' => 'image.post', 'class' => 'form-validate', 'files' => true, 'enctype' => 'multipart/form-data', 'autocomplete' => 'off']) !!} @method($section->method)
{!! Form::file('images', ['class' => 'custom-file-input', 'id' => 'customFile']) !!}
@if ($errors->has('images'))

{{ $errors->first('images') }}

@endif
{!! Form::select('status', ['1' => 'Active', '0' => 'Inactive'], null, ['class' => 'form-control form-select select2']); !!}
{!! Form::button('Save', ['type' => 'submit', 'class' => 'btn btn-outline-primary']) !!}
{!! Form::close() !!}
@section('scripts') @endsection @endsection