Play フレームワークで Twitter ブートストラップを使用しています。単純な if コンストラクトを使用したいのですが、チェックボックスがオンの場合は、チェックボックスがオフの場合とは別のリンクを使用したいと思います。しかし、チェックボックスの値を取得する方法がわかりません。
<div class="span11 no_margin_left">
<hr>
<label class="span5 checkbox" id="checkBoxDetails2">
<input type="checkbox" name="checkBoxDetails" id="checkBoxDetails">Use these Details as Delivery Details </label>
#{if checkBoxDetails}<a class="btn btn-primary pull-right" href="#collapse4">Continue</a><br>
#{/if}#{else}<a class="btn btn-primary pull-right" href="#collapse3">Continue</a><br>#{/else}
<br> <br>
</div>