Sha256: 1b1274af9da1d07404aa4d220f8dd8cf7aadbc08df3f0762b6d45ebaf732be0c

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

module Locomotive
  module Steam
    module Liquid
      module Tags
        module Editable
          class ShortText < Base

            def render(context)
              Locomotive::Common::Logger.warn "  [#{self.current_block_name(context)}/#{@slug}] The editable_{short|long}_text tags are deprecated. Use editable_text instead.".colorize(:orange)
              super(context)
            end

          end

          ::Liquid::Template.register_tag('editable_short_text', ShortText)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
locomotivecms_steam-0.1.2.pre.beta lib/locomotive/steam/liquid/tags/editable/short_text.rb
locomotivecms_steam-0.1.1 lib/locomotive/steam/liquid/tags/editable/short_text.rb