Sha256: 7ad2c750974126c355d3cabec9ecfe0d12dfd4da508c39708c6080e068b4278d

Contents?: true

Size: 796 Bytes

Versions: 11

Compression:

Stored size: 796 Bytes

Contents

module RailsConnector
  # This module contains helpers that render tags for the html head
  # and the end of the html body.
  # @api public
  module LayoutHelper
    # Renders all tags needed in the html head.
    # @api public
    def rails_connector_header_tags
      html = "".html_safe
      html += tag("meta", name: "generator",
                          content: "Rails Connector for Infopark CMS Fiona by Infopark AG (www.infopark.de)")
      html += include_edit_marker_support
      html += include_editing_stylesheet
      html
    end

    # Renders all tags needed at the end of the body tag.
    # @api public
    def rails_connector_after_content_tags
      html = "".html_safe
      html += render_marker_code
      html += include_editing_javascript
      html
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
infopark_fiona_connector-7.0.1.6.1.6.rc4 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.6.1.6.rc3 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.6.1.6.rc2 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.6.1.6.rc1 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.5.2.7.rc1 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.5.2.4.rc2 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.5.2.4.rc1 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.5.2.3.rc8 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.5.2.3.rc7 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.5.2.3.rc6 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.5.2.3.rc5 app/helpers/rails_connector/layout_helper.rb