Fix indentation and move hardcoded list in the controller

Minors changes in the print directive.