Sha256: e22c2c325d2582b098368d1e6bca17435d16fd6693b18adfbe5722771f4c25eb

Contents?: true

Size: 714 Bytes

Versions: 2

Compression:

Stored size: 714 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_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 += include_editing_javascript
      html
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
infopark_cloud_connector-7.1.0 app/helpers/rails_connector/layout_helper.rb
infopark_cloud_connector-7.0.2 app/helpers/rails_connector/layout_helper.rb