A central influence on the behavior of CRUD views is the ObjectType for each field. So if you want to change the CRUD module’s behaviour in a generic way, for example to hide fields with the @Version annotation, you can create you own ObjectType class. You must also declare a static method in your controller or a superclass of your controller.

The CRUD module provides a crud:override command that you use on the command line to override the default templates. This works because the CRUD module loads templates from your application if they are present, instead of its own. You can also use crud:ov instead of crud:override.

play crud:override --template [path]

Copies the template specified by the path, e.g. Users/list, to your application’s app/views/CRUD/ directory. You can also use -t instead of --template.

play crud:override --layout

Overrides the main page layout template, layout.html.

play crud:override --css

Overrides the style sheet, crud.css, copying it to your the public/stylesheets/ directory.