@extends('Myadmin::layout.basic') @section('content')
| 分類英文名稱 | 分類中文名稱 | 分類順序 | 操作 | 刪除 | 呈現 | |
|---|---|---|---|---|---|---|
| {{{ $category-> name }}} | {{{ $category-> name_tw }}} | 
		        	    	 
		{{--			{{ Form::model($category, array(
					  'route' => array($_CONST["CONTROLLER_ROUTE"].'.orderchange', $category->id),
					  'method' => 'put'
					))}}
		--}}
					{{ Form::open(['url' => 'admin/productclass/orderchange/'. $category->id, 'method' => 'get' ]) }}
				            {{ Form::text('category_order', '', array('class' => 'form-control','placeholder'=> $category->order))}}
					
					{{ Form::close()}}
	        			 
					 | 
{{--
	                id)}}">{{{ $category->title}}} | --}}
					{{ Form::model($category, array(
		    			'route' => array($_CONST["CONTROLLER_ROUTE"].'.update', $category->id),
					    'class' =>'form-horizontal',
		    			'method' => 'put'
					))}}
        	    	 
			            {{ Form::text('title', '', array('class' => 'form-control','placeholder'=>'英文'))}}
			            {{ Form::text('title_tw', '', array('class' => 'form-control','placeholder'=>'中文'))}}
			            
            		    
            			
        			 
					{{ Form::close()}}
				 | 
                {{ Form::open(array( 'route'=>array($_CONST["CONTROLLER_ROUTE"].'.destroy', $category->id), 'method' => 'delete') )}} 刪除 {{-- {{ Form::submit(trans($_CONST["LANG_DEST"].".class_delete_action"), array("class"=>"delete"));}} --}} {{ Form::close()}} | 
					 
						@if($category->show == '1')
							{{ Form::checkbox('show', null, true, array('class' => 'form-control' , 'style' => 'width:15px')) }}
						@else
							{{ Form::checkbox('show', null, false, array('class' => 'form-control' , 'style' => 'width:15px')) }}
						@endif
					 
				 |