title: rendering and binding form with checkbox data
body: <p>How can we create checkboxes and bind them with our form in play2.0 using scala.</p>
  
  <p>If I have</p>
  
  <pre><code>    val placeForm = Form(
      mapping(
          "id" -&gt; ignored(NotAssigned: Pk[Long]),
          "url_key" -&gt; nonEmptyText,
          "title" -&gt; optional(text),
          "page_id" -&gt; optional(longNumber)
      )(models.Place.apply)(models.Place.unapply)
  )
  </code></pre>
  
  <p>and I have created form like this.</p>
  
  <pre><code>    @form(routes.Page.save) {
  
      @form(routes.Page.save) {
  
      &lt;fieldset&gt;
  
      @inputText(pageForm("title"), '_label -&gt; "Title")
      @inputText(pageForm("template"), '_label -&gt; "Template") &lt;label&gt;Options:&lt;/label&gt;
      &lt;div class="input"&gt;
          &lt;label&gt;note &lt;input type="checkbox" name="options[]" value="0"&gt;
          &lt;/label&gt; &lt;label&gt;About US &lt;input type="checkbox" name="options[]"
          value="0"&gt;
          &lt;/label&gt; &lt;label&gt;Facebook &lt;input type="checkbox" name="options[]"
          value="0"&gt;
          &lt;/label&gt; &lt;label&gt;Twitter &lt;input type="checkbox" name="options[]"
          value="0"&gt;
          &lt;/label&gt; &lt;label&gt;Hotmail &lt;input type="checkbox" name="options[]"
          value="0"&gt;
          &lt;/label&gt; &lt;label&gt;Something &lt;input type="checkbox" name="options[]"
          value="0"&gt;
          &lt;/label&gt;
      &lt;/div&gt;
  
  
      &lt;/fieldset&gt;
  </code></pre>
  
  <p>Now I want dont want simple html to create these checkboxes and bind these checkbox values into form
  <br>
  Can anyone help me with this</p>