@extends('admin.layouts.app') @section('title', 'Brands') @section('content') {{__('Brands')}} {{__('Brands')}} {{__('Update')}} {{__('Update Brand')}} {{ Form::model($brand, array('route' => array('admin.brand.update', $brand->id), 'method' => 'POST','files'=>true)) }} {{__('Name')}} * {{ Form::text('title', $brand->title, array('id'=>'title','class' => "form-control ".APFrmErrHelp::hasError($errors, 'title')." ",'placeholder' => 'Enter name')) }} {!! APFrmErrHelp::showErrors($errors, 'title') !!} {{__('Arabic Name')}} * {{ 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') !!} {{__('Logo')}} * {!! 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))) Delete @else @endif {{__('Image')}} * {!! 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))) Delete @else @endif {{__('Status')}} status=='1') checked @endif value="1"> Active status=='0') checked @endif value="0"> Inactive {{ Form::close() }}