Formatting generated views