title: Missing required parameters for route (Laravel 5.8)
body: <p>I'm trying to recreate a blog application form old laravel version in new version (5.8). In old version, I used laravel collective for forms, and my edit post form looks like this:</p>
  
  <pre><code>@extends('layouts.app')
  
  @section('content')
      &lt;h1&gt;Edit Post&lt;/h1&gt;
      {!! Form::open(['action' =&gt; ['PostsController@update', $post-&gt;id], 'method' =&gt; 'POST', 'enctype' =&gt; 'multipart/form-data']) !!}
          &lt;div class="form-group"&gt;
              {{Form::label('title', 'Title')}}
              {{Form::text('title', $post-&gt;title, ['class' =&gt; 'form-control', 'placeholder' =&gt; 'Title'])}}
          &lt;/div&gt;
          &lt;div class="form-group"&gt;
              {{Form::label('body', 'Body')}}
              {{Form::textarea('body', $post-&gt;body, ['class' =&gt; 'form-control', 'placeholder' =&gt; 'Body Text'])}}
          &lt;/div&gt;
          {{Form::hidden('_method', 'PUT')}}
          {{Form::submit('Submit', ['class'=&gt;'btn btn-primary'])}}            
      {!! Form::close() !!}
  @endsection
  </code></pre>
  
  <p>Now I'm trying to recreate the same form without laravel collective forms because it seems to be deprecated. </p>
  
  <p>This is my attempt at recreating this form:</p>
  
  <pre><code>@extends('layouts.app')
  @section('content')
      &lt;h1&gt;Edit post&lt;/h1&gt;
      &lt;form action="{{ route('posts.update'), $post-&gt;id }}" method="POST"&gt;
      @csrf
      &lt;div class="form-group"&gt;
          &lt;label for="title"&gt;Title&lt;/label&gt;
          &lt;input class="form-control" type="text" id="title" name="title" value={{$post-&gt;title}}&gt;
      &lt;/div&gt;
      &lt;div class="form-group"&gt;
          &lt;label for="body"&gt;Body&lt;/label&gt;
          &lt;textarea class="form-control" id="body" rows="3" name="body" value={{$post-&gt;body}}&gt;&lt;/textarea&gt;
      &lt;/div&gt;
      &lt;input type="submit" class="btn btn-primary"&gt;
  &lt;/form&gt;
  @endsection
  </code></pre>
  
  <p>I'm getting the following error:
  <code>Missing required parameters for [Route: posts.update] [URI: posts/{post}]. (View: C:\xampp\htdocs\blog\resources\views\posts\edit.blade.php)</code></p>
  
  <p>Looks like I'm not sending the id parameter correctly.</p>
  
  <p>Also,how can I recreate this part: <code>{{Form::hidden('_method', 'PUT')}}</code> in plain HTML?</p>