title: Laravel 5.1 pass data from view to modal
body: <p>How can I pass data from blade view to modal dialog :
  For example : 
  I pass $user from controller to view :</p>
  
  <pre><code> $user = User::findOrFail($id);
   return view('user.show')-&gt;withUser($user);
  </code></pre>
  
  <p>Next, I want to pass this data $user to a modal included in this view via a button like this :</p>
  
  <p><code>@include('user.edit',$user)</code>;</p>
  
  <p>and there in the modal I can set $user's values (like this : {!! $user->lastname !!} ) to edit them for example.</p>
  
  <p>Please Help me :)</p>