module Liquid module Locomotive module Tags class InlineEditor < ::Liquid::Tag def render(context) if context.registers[:current_locomotive_account] && context.registers[:inline_editor] %{ } else '' end end end ::Liquid::Template.register_tag('inline_editor', InlineEditor) end end end