@extends('admin.layouts.template') @section('page_heading','Update') @section('content')
.
ประเภทกระบวนการ
{!! Form::model($proc,array('route'=>['proc.update',$proc->id],'method'=>'PUT','novalidate' => 'novalidate','files' => true)) !!}
{!! Form::label('name','ชื่อ') !!} {!! Form::text('name',null,['class'=>'form-control']) !!}
{!! Form::label('remark','ตัวย่อ') !!} {!! Form::text('remark',null,['class'=>'form-control']) !!}
{!! Form::button('บันทึก',['type'=>'submit','class'=>'btn btn-primary']) !!} {{ link_to_route('proc.index','ย้อนกลับ',null,['class'=>'btn btn-danger']) }}
{!! Form::close() !!}
@if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@stop