@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()) @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::radio('home_show', '1' )}}是
{{ Form::radio('home_show', '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::number('price', null, array('class' => 'form-control'))}}
--}}
asset('images/photoshop.jpg') }}">


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