title: form select on laravel
body: <p>I have data look like this </p>
  
  <pre><code>id    rel    word
  
  1     A     word A
  2     B     word B
  3     B     word C
  </code></pre>
  
  <p>to get the data my controller look like this :</p>
  
  <pre><code>public function get_new()
  {
  return View::make('form.new')
      -&gt;with('datas', Data::all());
  }
  </code></pre>
  
  <p>and my View will look like this :</p>
  
  <pre><code>&lt;select&gt;
  @foreach($datas as $data)
  &lt;option value="{{ $data-&gt;id }}" rel="{{ $data-&gt;rel }}"&gt;{{ $data-&gt;word }}&lt;/option&gt;
  @endforeach
  &lt;/select&gt;
  </code></pre>
  
  <p>How i can get that data with Form::select ? </p>
  
  <p>If we use <code>Form::select</code> we can call that with <code>Data::lists('word','id')</code> and pass to the view.
  but if i use this i just can get 2 data that is id and word.</p>
  
  <p>how can i get all data that is <code>id, rel and word with Form::select</code>. Please help me.</p>