title: Laravel form select poulated by eloquent model
body: <p>I am currently making an edit page for some data in my database, and on the edit page I am trying to make a Form::select which lists the people in my users table.</p>
  
  <p>controller-which-makes-the-edit-view.php</p>
  
  <pre><code>&lt;?php
  
  class AdminController extends BaseController
  {
      public $restful = true;
  
      public function getUpdatePage($id)
      {
          return View::make('data_edit')
          -&gt;with('title', 'Rediger måling/oppgave')
          -&gt;with('data', Routine::find($id))
          -&gt;with('emp', Emp::lists('user_name', 'id'));
      }
  </code></pre>
  
  <p>data_edit.blade.php</p>
  
  <pre><code>{{ Form::label('emp', 'Ansatt') }}
  {{ Form::select('emp', $emp, $data-&gt;emps-&gt;user_name) }} 
  </code></pre>
  
  <p>Now my question is how would I go about making the default value for the select the person that saved the row which is currently being edited?</p>
  
  <p>I do apologize if this already is answered, I couldn't seem to find it (neither here nor google).</p>