Making Attribute and Relationship inlines collapsible with custom template.