Add layout_template to permitted attributes.