@extends('admin.layouts.app') @section('title', 'Banners') @section('content')

{{__('Banners')}}

{{__('Update Banner')}}

{{ Form::model($banner, array('route' => array('admin.banner.update', $banner->id), 'method' => 'POST','files'=>true)) }}
{{ Form::text('title', $banner->title, array('id'=>'title','class' => "form-control ".APFrmErrHelp::hasError($errors, 'title')." ",'placeholder' => 'Enter Title')) }} {!! APFrmErrHelp::showErrors($errors, 'title') !!}
{{ Form::text('arabic_title', $banner->arabic_title, array('id'=>'arabic_title','class' => "form-control ".APFrmErrHelp::hasError($errors, 'arabic_title')." ",'placeholder' => 'Enter arabic Title')) }} {!! APFrmErrHelp::showErrors($errors, 'arabic_title') !!}
{{ Form::textarea('description', $banner->description, array('id'=>'description','class' => "form-control ".APFrmErrHelp::hasError($errors, 'description')." ",'placeholder' => 'Enter description')) }} {!! APFrmErrHelp::showErrors($errors, 'description') !!}
{{ Form::textarea('arabic_description', $banner->arabic_description, array('id'=>'arabic_description','class' => "form-control ".APFrmErrHelp::hasError($errors, 'arabic_description')." ",'placeholder' => 'Enter arabic description')) }} {!! APFrmErrHelp::showErrors($errors, 'arabic_description') !!}
{!! Form::file('image', ['id'=>'image','class' => 'form-control file-chose', 'accept' => 'image/*']) !!}
{{ Form::text('banner_url', $banner->banner_url, array('id'=>'banner_url','class' => "form-control ".APFrmErrHelp::hasError($errors, 'banner_url')." ",'placeholder' => 'Enter url')) }} {!! APFrmErrHelp::showErrors($errors, 'banner_url') !!}
status=='1') checked @endif value="1"> Active status=='0') checked @endif value="0"> Inactive
{{ Form::close() }}
@endsection