@(attendants: List[AlarmAttendant], attendantForm: Form[AlarmAttendant]) @* alarms and alarmForm are the 2 inputs to this template, where alarms is of the type List[Alarm] and alarmForm of the type Form[Alarm]*@ @* template can not be started with a comment *@ @import helper._ @main("Attendants") {

@attendants.size() attendant(s)

@for(attendant <- attendants){
@attendant.id
@attendant.username
@form(routes.AttendantControler.deleteAttendant(attendant.id)) { }
}

Add a new attendant

@form(routes.AttendantControler.newAttendant()) { @inputText(attendantForm("username")) } }