Removing html elements from partial