@extends('Myadmin::layout.basic') @section('header') @stop @section('content')
{{ Form::open(array( 'action'=>$_CONST["CONTROLLER_ROUTE"].'.store', 'class'=>'form-horizontal well', 'files' => true ))}} @if ($errors->has('model_num')) @endif @if ($errors->has('title_tw')) @endif @if ($errors->has('title_en')) @endif @if ($errors->has('description_tw')) @endif @if ($errors->has('description_en')) @endif @if ($errors->has('price')) @endif {{-- @if ($errors->has()) @foreach ($errors->all() as $error) @endforeach @endif --}}
{{ Form::select('category_id', $option, '', array('class' => 'form-control'))}}
{{ Form::radio('publish', '1' )}}是
{{ Form::radio('publish', '0', true )}}否
{{ Form::text('model_num', null, array('class' => 'form-control'))}}
{{ Form::text('title_tw', null, array('class' => 'form-control'))}}
{{ Form::textarea('description_tw', null, array('class' => 'input-xxlarge form-control ckeditor'))}}
{{ Form::text('title_en', null, array('class' => 'form-control'))}}
{{ Form::textarea('description_en', null, array('class' => 'input-xxlarge form-control ckeditor'))}}

{{--
{{ Form::select('subheading', $brands, '', array('class' => 'form-control')) }}
{{ Form::text('format', 'red / S', array('class' => 'form-control'))}}
{{ Form::text('tag_1', '', array('class' => 'form-control'))}}
{{ Form::text('tag_2', '', array('class' => 'form-control'))}}
{{ Form::text('tag_3', '', array('class' => 'form-control'))}}
--}}
{{ Form::number('price', null, array('class' => 'form-control'))}}
{{--
{{ Form::number('selling_price', null, array('class' => 'form-control'))}}
{{ Form::text('official_url', null, array('class' => 'form-control'))}}
--}}
asset('images/photoshop.jpg') }}">

{{--
名稱 : {{Form::text('img_title_tw[]', null, array('class' => 'form-control'))}} 描述 : {{Form::textarea('img_description_tw[]', null, array('class' => 'input-xlarge form-control' , 'style' => 'height:60px'))}}
Name : {{Form::text('img_title_en[]', null, array('class' => 'form-control'))}} Description : {{Form::textarea('img_description_en[]', null, array('class' => 'input-xlarge form-control' , 'style' => 'height:60px'))}}
--}}

{{ 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