@extends('xinput') @inject('form', 'FormControl') @include('Common.dataform') @section('table','re_year_energy ') @section('custom-css') {!! HTML::style(asset('css/jquery-ui.css')) !!} @stop @section('custom-script') {!! HTML::script('js/jquery-ui.js') !!} @stop @section('body')
@if ($form->mode != 'edit') {!! Form::open(['method' => 'POST','action'=>['re_year_energy Controller@store',$xxxxx],'class'=>'form-horizontal']) !!} @else {!! Form::model($buffers , ['method' => 'PUT','action'=>['re_year_energy Controller@update',$xxxxx],'class'=>'form-horizontal']) !!} @endif {!! $form->start() ->label(' ',null,['class'=>'col-md-2']) ->submit('บันทึก',['class'=>'btn btn-primary']) ->end() !!} {!! Form::close() !!}
@stop