@import forms._ @(form : FormDefinition) @main(title = "The Kurator 'helloworld' application") {

@form.title

@for(field <- form.fields) { @field match { case fileInput: input.FileInput => { } case textField: input.TextField => { @if(textField.textArea) { } else { } } case radioGroup: input.RadioGroup => { } case checkBox: input.CheckBox => { } case selectField: input.SelectField => { } } }
@fileInput.label@textField.label@radioGroup.label @for((value, label) <- radioGroup.options) { @label } @checkBox.label@selectField.label
}