@(widgetForm: Form[Widget]) @import helper._

Widget

@helper.form( action = routes.WidgetController.update() ) { @helper.inputText( widgetForm( "id" ), '_label -> "ID" ) @helper.inputText( widgetForm( "name" ), '_label -> "Name" ) @helper.inputText( widgetForm( "description" ), '_label -> "Description" ) }