Sha256: 534328e43e3f96a2c54647d3326a6f1803e0287b02b9127a6279acf3b84b460d

Contents?: true

Size: 789 Bytes

Versions: 11

Compression:

Stored size: 789 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 & 3 rubygems

Version Path
infopark_fiona_connector-7.0.1.5.2.3.rc4 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.1.beta2 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-7.0.0 app/helpers/rails_connector/layout_helper.rb
infopark_fiona_connector-6.10.0.beta1 app/helpers/rails_connector/layout_helper.rb
infopark_cloud_connector-7.0.1 app/helpers/rails_connector/layout_helper.rb
infopark_cloud_connector-7.0.0 app/helpers/rails_connector/layout_helper.rb
infopark_cloud_connector-6.9.5 app/helpers/rails_connector/layout_helper.rb
infopark_rails_connector-6.9.4 app/helpers/rails_connector/layout_helper.rb
infopark_rails_connector-6.9.3.1.36404185 app/helpers/rails_connector/layout_helper.rb
infopark_rails_connector-6.9.2.1.125136549 app/helpers/rails_connector/layout_helper.rb