Laravel 4 Blade Form Formatting (Hidden Input)
问题 I have an "artist" resource, and on the show route page I have a form. I am using Laravel Blade syntax. As part of this form, I am trying to send the page ID to the back end of a Laravel 4 project. I am doing it this way: {{Form::hidden('artist-id',null, array( 'id' => '{{$artist->id}}', ));}} However, when using this, the browser throws an error, because it is not rendering the $artist->id variable within the brackets before the outside brackets of the input form. Is there a way around this