@(tasks: List[TableTask], tableForm: Form[TableTask]) @* This is the HTML/scala template that defines the Tables interface *@ @import helper._ @* Scala main function to start the template *@ @main("Restaurant Tables") { } {

List of Tables

Press "Create Table" to Create Restaurant Tables

@* Button to create a table *@ @form(routes.Tables.newTable()) { @inputText(tableForm("seats")) } @* Button to reset the numbering of tables *@ @form(routes.Tables.resetCount()) { } Back to Dashboard }