@extends('layouts.index') @section('content')

Editar Empresa

{!! Form::open(['action' => ['MontacargasController@update', $montacarga->id], 'method' => 'POST', 'enctype' => 'multipart/form-data']) !!}
{{Form::label('name', 'Nombre')}} {{Form::text('name', $montacarga->name, ['class' => 'form-control', 'placeholder' => 'Nombre'])}} @if($errors->has('name'))

{{ $errors->first('name') }}

@endif
{{Form::label('number', 'Descripcion')}} {{Form::text('number', $montacarga->number, ['class' => 'form-control', 'placeholder' => 'Descripción'])}} @if($errors->has('number'))

{{ $errors->first('number') }}

@endif
{{Form::label('address_line', 'Dirección')}} {{Form::text('address_line', $montacarga->address_line, ['class' => 'form-control', 'placeholder' => 'Dirección'])}} @if($errors->has('address_line'))

{{ $errors->first('address_line') }}

@endif
@if($montacarga->is_active) @else @endif
{{Form::hidden('_method','PUT')}} {{Form::submit('Editar', ['class'=>'btn btn-primary'])}} {!! Form::close() !!} @endsection