You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tag_helper.rb
    path of file: ./repos/refinerycms/core/app/helpers/refinery
    
    the code of the file until where you have to start completion: module Refinery
  module TagHelper

    # Returns <img class='help' tooltip='Your Input' src='refinery/icons/information.png' />

    # Remember to wrap your block with <span class='label_with_help'></span> if you're using a label next to the help tag.
    d
    
    def action_icon_label(action, url, title, options={}, label = true)
      options[:title] = title
      options[:class].presence ? options[:class] << " #{action}_icon " : options[:class] = "#{action}_icon"
      options[:class] << ' icon_label' if label

      case action
      when :preview
        options[:target] = '_blank'
      when :delete
        options[:method] = :delete
      when :reorder_done
        options[:class] << ' hidden'
      end