@php $host = app()->environment('local') ? "public" : "s3"; @endphp @extends('backend-template') @section('content')

Edit sector

@include('layouts/form_errors') {!! Form::open(array( 'url' => route('sectorSave', $category->id), 'class' => 'form-horizontal dialog-form', 'autocomplete' => 'off', 'method' => 'PUT', 'files' => true)) !!}
{!! Form::text('image_item_id', $category->image_item_id, ['class' => 'form-control']) !!}
{!! Form::file('image') !!} If image is not uploaded item main image will be used @if ($category->image_name) home page image @endif

{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}
@stop