@(eventSearchForm: Form[forms.sample.EventSearchData], events: Seq[models.Tables.EventRow])(implicit flash: Flash, messages: Messages) @import BootstrapHelper._ @main("EventSearch", eventSearchForm) { @helper.form(action = controllers.sample.routes.EventSearch.search(), 'role -> "form", 'class -> "form-horizontal"){
EventSearch
@helper.inputText(eventSearchForm("eventId")) @helper.inputText(eventSearchForm("eventNm")) @helper.inputDate(eventSearchForm("eventDate")) @helper.inputText(eventSearchForm("homepage"))
@helper.inputText(eventSearchForm("place")) @helper.inputText(eventSearchForm("capacity")) @helper.inputText(eventSearchForm("eventType")) @helper.inputText(eventSearchForm("content"))
@helper.inputText(eventSearchForm("publicStatus"))
@if(events) {
results
@for((event) <- events){ }
id eventId eventNm eventDate homepage place capacity eventType content publicStatus action
@event.id @event.eventId @event.eventNm @event.eventDate @event.homepage @event.place @event.capacity @event.eventType @event.content @event.publicStatus
}
} }