usando decorator na view details