You must try:
return ok(views.html.input.form.render(someValue));
or even:
import views.html.input.form;
...
return ok(form.render(someValue));
...
but in this case, itβs best to create a view name with a package prefix for the visual that distinguishes them from the views from viewspackage /app/views/input/inputForm.scala.html:
import views.html.input.inputForm;
...
return ok(inputForm.render(someValue));
source
share