-class CreateSonePage @Inject constructor(template: Template, webInterface: WebInterface):
- SoneTemplatePage("createSone.html", webInterface, template, "Page.CreateSone.Title") {
+@MenuName("CreateSone")
+@TemplatePath("/templates/createSone.html")
+@ToadletPath("createSone.html")
+class CreateSonePage @Inject constructor(webInterface: WebInterface, loaders: Loaders, templateRenderer: TemplateRenderer) :
+ SoneTemplatePage(webInterface, loaders, templateRenderer, pageTitleKey = "Page.CreateSone.Title") {