Problems with {!! Form :: model () !!}

1

I have a form where I make the inclusion in the page create.blade.php and the edit.blade.php

More when I go to fix the element does not appear the tag <form></form> More when I remove the @include ('dashboard.usuario.formulario') it appears in the source code of the page the form. Anyone have any idea why this?

See:

@extends('dashboard')
 @section('content')
   {!! Form::model($user, ['route'  =>   ['user.update', $user->id] , 'method'    =>  'post']) !!}
     @include('dashboard.usuario.formulario')
   {!Form::close()!}
 @stop

As I said, when I remove the @include it works again. showing in the source code my form tag <form> .

    
asked by anonymous 15.08.2017 / 03:50

1 answer

0

Good morning, change this: {!!Form::close()!!}

If it still does not work post the include code.

    
15.08.2017 / 13:41