@extends('Myadmin::layout.basic') @section('header') @stop @section('content')
{{ Form::model($brand, array( 'action' => array('ProductController@brandupdate', $brand->id ), 'class'=>'form-horizontal well', 'method' => 'post', 'files' => true ))}} @if($errors->has()) @endif
{{ Form::text('name', null, array('class' => 'form-control'))}}
{{ Form::textarea('description', null, array('class' => 'form-control'))}}
{{ Form::text('facebook_url', null, array('class' => 'form-control'))}}
{{ Form::text('instagram_url', null, array('class' => 'form-control'))}}
{{ Form::text('youtube', null, array('class' => 'form-control'))}}
@if (strlen($brand["img_path"] ) > 0) @else asset('images/photoshop.jpg') }}"> @endif
{{--
@if (strlen($brand["photo_path"] ) > 0) @else asset('images/photoshop.jpg') }}"> @endif
--}}
{{ Form::text('buynow', null, array('class' => 'form-control'))}}
{{ Form::text('location', null, array('class' => 'form-control'))}}
{{ Form::text('url', null, array('class' => 'form-control'))}}

{{ Form::close()}}
@stop @section('js-snippet') @include('Myadmin::js.preview', array('bind' => 'input[name=image]','target' => '.preview')) @include('Myadmin::js.ckeditor', array( 'target' => 'origin_content', )) @stop