@extends('layouts.crud') @section('title', 'Áreas - Editar') @section('content')

Editar Área: {{$area->nome }}

@if($errors->any()) @endif {!! Form::open(['route'=>["areas.update", 'id'=>\Crypt::encrypt($area->id)], 'method'=>'put']) !!}
{!! Form::label('nome', 'Nome:') !!} {!! Form::text('nome', $area->nome, ['class'=>'form-control', 'maxlength'=>64, 'required']) !!}
{!! Form::reset('Limpar', ['class'=>'btn btn-default']) !!} {!! Form::submit('Editar', ['class'=>'btn btn-primary']) !!}
{!! Form::close() !!}
@stop @section('table-delete') "areas" @stop