@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('Brand Update') }} @endsection @section('contentheader_title') {{ trans('Brand Update') }} @endsection @section('main-content')
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
{!! Form::open(array('url' => ('admin/brand/store'),'method'=>'post', 'files'=>true)) !!}
{{--

{{ trans('Brand') }} Update

--}}
{!! Form::text('name',$brand->name, array('class' => 'form-control','placeholder'=>'Enter name','id'=>'name')) !!}

{{ trans('') }}
@if ($brand->status == 1) {!! Form::radio('status', '1',['checked' => 'checked'],['class' => 'minimal']) !!} Active {!! Form::radio('status', '0','',['class' => 'minimal']) !!} InActive @else {!! Form::radio('status', '1','',['class' => 'minimal']) !!} Active {!! Form::radio('status', '0',['checked' => 'checked'],['class' => 'minimal']) !!} InActive @endif
{!! Form::close() !!}
@push('scripts') @endpush @include('adminlte::layouts.brand.validation') @endsection