Sha256: 7481787d93f794d171682a3a3f2ee03e41c897074c6c65834a37400129fe9747

Contents?: true

Size: 528 Bytes

Versions: 1

Compression:

Stored size: 528 Bytes

Contents

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

            def render(context)
              Locomotive::Steam::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

1 entries across 1 versions & 1 rubygems

Version Path
locomotivecms_steam-0.1.0 lib/locomotive/steam/liquid/tags/editable/short_text.rb