@extends('layouts.admin') @section('title',__('Edit Addvertisment')) @section('content')

@can('banneradd.view') reply @endcan {{__('Edit Addvertisment')}}

{!! Form::model($banneradd, ['method' => 'PATCH', 'action' => ['BannerAdvertismentController@update', $banneradd->id], 'files' => true]) !!}
{!! Form::label('link', __('Addvertisment Link')) !!} -

{{__('Enter Advertisment Link')}}

{!! Form::text('link', old('name'), ['class' => 'form-control','autocomplete'=>'off','required']) !!} {{ $errors->first('link') }}
{!! Form::label('image', __('Image')) !!} {!! Form::file('image', ['class' => 'input-file', 'id'=>'image']) !!}

{{__('Choose Custom Image')}}

{{ $errors->first('image') }}
{!! Form::label('detail_page', __('Detail Page')) !!}
{{ $errors->first('detail_page') }}
{!! Form::label('is_active', __('Status')) !!}
{{ $errors->first('is_active') }}
{!! Form::label('position',__('Addvertisment Position')) !!} {!! Form::select('position', array('' =>__('Select Positon'), '1' =>'After Slider','2' =>'Footer', '3' => 'Center', '4'=>'Before Slider'), null, ['class' => 'form-control select2']) !!} {{ $errors->first('position') }}
{!! Form::label('column', __('Select Column')) !!}
{{ $errors->first('column') }}
{!! Form::close() !!}
@endsection @section('custom-script') {{-- --}} @endsection