title: How to populate a dropdown using the html helper "options" in a scala template (play 2.0)
body: <p>I'm really a starter with Scala, so pardon me if I'm stupid here!</p>
  
  <p>I'm using play2.0/Scala for an assignment. </p>
  
  <p>I want to populate a dropdown with distinct values(timesheetId here) and labels(a concat of 2 date values). So I did this.</p>
  
  <pre><code>@select(effortForm("timesheetId"),options(timesheets.map(aTimesheet=&gt; aTimesheet.timesheetId.toString -&gt; (aTimesheet.fromDate + " to " + aTimesheet.toDate))),'_label-&gt;"Choose Timesheet (*)")
  </code></pre>
  
  <p>But the page has a dropdown populated with same value (as a tuple) and label for options under select. </p>
  
  <p>Overloaded method value [apply] cannot be applied to (List[(java.lang.String, java.lang.String)])</p>
  
  <p>I want to see this as result</p>
  
  <pre><code>&lt;option value="1"&gt;Sun Apr 08 18:23:32 PDT 2012 to Sun Apr 08 18:23:32 PDT 2012&lt;/option&gt;
  </code></pre>
  
  <p>Please help!</p>