def hide(options = {})
      attributes = {:style => "display:none"}

      if options.has_key?(:unless)
        return options[:unless] ? {} : attributes
      end

      if options.has_key?(:if)
        return options[:if] ? attributes : {}
      end

      attributes
    end
def hide(options = {})
      attributes = {:style => "display:none"}

      if options.has_key?(:unless)
        return options[:unless] ? {} : attributes
      end

      if options.has_key?(:if)
        return options[:if] ? attributes : {}
      end

      attributes
    end
Return a hidden attribute hash (useful in Haml tags - %div{hidden})