@extends('admin.app') @section('page_title','Edit Entity') @section('page_location') @endsection @section('main-content')

Edit Entity

{{ Form::model($entity,['route' => ['typeentity.update' , $entity->id ],'method' => 'PUT'] ) }}
{!! Form::label('Name') !!} {!! Form::text('name', null, array('required', 'class'=>'form-control', 'placeholder'=>'Name')) !!}
{!! Html::linkRoute('typeentity.show','Cancel',array($entity->id),array('class' => 'btn btn-primary' )) !!} {!! Form::submit('Save Changes', array('class'=>'btn btn-primary')) !!}
{!! Form::close() !!}
@endsection