inline based on data attribute