@(importForm: Form[models.Itinerary], companies: List[models.Company],date: org.joda.time.DateTime, fileError: Boolean = false)(implicit flash: Flash, session: Session) @import helper._ @main {

Subir Itinerario para mes "@date.toString("MMMM", new java.util.Locale("ES"))"

@if(fileError){
Error: No se ha especificado el archivo
} @*form(action = "routes.ItineraryController.importConfirm", 'enctype -> "multipart/form-data", 'role -> "form") *@
@helper.select(importForm("companyId"), companies.map(c=>(c.id.get.toString,c.company)), '_label -> Html("Compañía"), '_help -> "")

Descargar plantilla de ejemplo CSV aquí.

@textarea(importForm("comments"), '_label -> "Comentarios", 'class -> "form-control", 'rows ->"3")
}