def idea_list_entry(context, idea):
    """This inclusion tag shows a single idea on the main idea list."""
    
    promoted_pixels, demoted_pixels = rating_pixel_values(idea)
    
    context.update({
        'idea': idea,
        'promoted_pixels': promoted_pixels,
        'demoted_pixels': demoted_pixels
    })
    
    return context
def show_idea(context, idea):
    """This inclusion tag shows a single idea and all its data."""
    
    promoted_pixels, demoted_pixels = rating_pixel_values(idea)
    
    context.update({
        'idea': idea,
        'promoted_pixels': promoted_pixels,
        'demoted_pixels': demoted_pixels
    })
    

    return context