@extends('Myadmin::layout.basic') @section('header') @stop @section('content')
{{ Form::open(array( 'action'=>$_CONST["CONTROLLER_ROUTE"].'.store', 'class'=>'form-horizontal well', 'files' => true ))}}
{{ Form::text('title', null, array('class' => 'form-control'))}}
{{ Form::select('category_id', $option, '', array('class' => 'form-control'))}}
{{ Form::text('price', null, array('class' => 'form-control'))}}
{{ Form::text('format', 'red / S', array('class' => 'form-control'))}}
{{ Form::radio('is_available', '上架', true )}}上架
{{ Form::radio('is_available', '下架' )}}下架
{{ Form::radio('is_available', '隱藏' )}}隱藏
{{ Form::select('type', array('一般商品' => '一般商品', '集量商品' => '集量商品', '限時商品' => '限時商品') , '一般商品', array('class' => 'form-control'))}}
{{ Form::text('stock_amount', null, array('class' => 'form-control'))}}
{{ Form::text('available_amount', null, array('class' => 'form-control'))}}
{{ Form::text('stock_threshold', null, array('class' => 'form-control'))}}
{{ Form::file('image')}} asset('images/photoshop.jpg') }}">
{{ Form::textarea('description', null, array('class' => 'input-xxlarge form-control'))}} {{--origin_content -> description--}}

{{--
{{ Form::submit('Click me!!')}}
--}}
{{ 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