@(bookForm: Form[models.Book], book: models.Book, actionRoute: play.api.mvc.Call) @import helper._ @helper.form(action = actionRoute, 'method -> "POST") { @inputText( bookForm("name"), '_label -> "Name" ) @textarea( bookForm("description"), '_label -> "Description" ) @select( bookForm("library.id"), options = Library.selectCollection.toSeq, '_default -> "Choose One", '_label -> "Library" )