{{--synced with server--}} @extends('admin.template.master') @section('stylesheets') {!! Html::style('assets/admin/bower_components/select2/dist/css/select2.min.css') !!} @endsection @section('title')

Brand insert and update brand

@endsection @section('main-content')

Entry

{!! Form::open(['method' => 'PUT', 'url' => '/admin/brands/' .$brand->brand_id, 'enctype' => 'multipart/form-data']) !!}
{!! Form::label('Name') !!} {!! Form::text('brand_name', $brand->brand_name, ['class' => 'form-control', 'placeholder' => 'Name', 'id' => 'brand_name']) !!} @if ($errors->has('brand_name')) {!! $errors->first('brand_name') !!}@endif
{!! Form::label('Slug') !!} {!! Form::text('brand_slug', $brand->brand_slug, ['class' => 'form-control', 'placeholder' => 'Slug', 'id' => 'brand_slug']) !!} @if ($errors->has('brand_slug')) {!! $errors->first('brand_slug') !!}@endif
{!! Form::label('Code') !!} {!! Form::text('brand_code', $brand->brand_code, ['class' => 'form-control', 'placeholder' => 'Code']) !!} @if ($errors->has('brand_code')) {!! $errors->first('brand_code') !!}@endif

{!! Form::label('Meta Title') !!} {!! Form::text('brand_meta_title', $brand->brand_meta_title , ['class' => 'form-control', 'placeholder' => 'Meta Title', 'id' => 'brand_meta_title']) !!} @if ($errors->has('brand_meta_title')) {!! $errors->first('brand_meta_title') !!}@endif
{!! Form::label('Meta Keyword') !!} {!! Form::text('brand_meta_keyword', $brand->brand_meta_keyword , ['class' => 'form-control', 'placeholder' => 'Meta Keyword', 'id' => 'brand_meta_keyword']) !!} @if ($errors->has('brand_meta_keyword')) {!! $errors->first('brand_meta_keyword') !!}@endif
{!! Form::label('Meta Description') !!} {!! Form::textarea('brand_meta_description', $brand->brand_meta_description, ['class' => 'form-control', 'placeholder' => 'Meta Description', 'id' => 'brand_meta_description']) !!} @if ($errors->has('brand_meta_description')) {!! $errors->first('brand_meta_description') !!}@endif
{!! Form::label('Status') !!} {!! Form::select('brand_is_exist', [1 => 'Active', 0 => 'Inactive'], isset($brand->brand_is_exist) ? $brand->brand_is_exist : null, ['class' => 'form-control']) !!}
{!! Form::close() !!}
@endsection @section('javascripts') {!! Html::script('assets/admin/bower_components/select2/dist/js/select2.full.min.js') !!} @endsection