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

{{__('Brands')}}

{{__('Update Brand')}}

{{ Form::model($brand, array('route' => array('admin.brand.update', $brand->id), 'method' => 'POST','files'=>true)) }}
{{ Form::text('title', $brand->title, array('id'=>'title','class' => "form-control ".APFrmErrHelp::hasError($errors, 'title')." ",'placeholder' => 'Enter name')) }} {!! APFrmErrHelp::showErrors($errors, 'title') !!}
{{ Form::text('arabic_title', $brand->arabic_title, array('id'=>'arabic_title','class' => "form-control ".APFrmErrHelp::hasError($errors, 'arabic_title')." ",'placeholder' => 'Enter arabic name')) }} {!! APFrmErrHelp::showErrors($errors, 'arabic_title') !!}
{!! Form::file('logo', ['id'=>'logo','class' => 'form-control file-chose', 'accept' => 'image/*']) !!} {!! APFrmErrHelp::showErrors($errors, 'logo') !!} @if($brand->logo && file_exists(public_path('/brands_images/'.$brand->logo))) @else @endif
{!! Form::file('image', ['id'=>'image','class' => 'form-control file-chose', 'accept' => 'image/*']) !!} {!! APFrmErrHelp::showErrors($errors, 'image') !!} @if($brand->image && file_exists(public_path('/brands_images/'.$brand->image))) @else @endif
status=='1') checked @endif value="1"> Active status=='0') checked @endif value="0"> Inactive
{{ Form::close() }}
@endsection @push('scripts') @endpush