@(productForm: Form[models.Product]) @import views.html.helper.bootstrap._ paperclips.example.com

Add Product

@helper.form(action = routes.GeneratedForm.create) { @productForm.globalError.map { error => @error.message } @helper.inputText(productForm("name")) @helper.inputText(productForm("name"), '_class -> "important", 'size -> 40) @helper.textarea(productForm("description")) @helper.inputText(productForm("ean")) @helper.inputText(productForm("pieces")) @helper.checkbox(productForm("active"), '_help -> "Active")
}