Use index instead of template attribute in BatchView to be able to customize
only the template.
use same indent