Created
June 12, 2018 13:09
-
-
Save mgladdish/f7808e48efba1da70b192e5ff6222ac3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case class NestingCheckboxes[C <: Messages[C]](... nestedWidgets: Map[String, Widget]) extends NestingMultipleChoice[C] { | |
override val nestingMultipleChoiceWidget = new Checkbox(...) { | |
override def render(form: Form, errors: ValidationErrors, requestInfo: RequestInfo)(...): Future[String] = { | |
... | |
// pass result of templateChoices(form, errors, requestInfo) to my template and return the rendered result | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment