Added layout for template tags and gcm devices to template