Module: RailsConnector::LayoutHelper
- Included in:
- DefaultCmsHelper
- Defined in:
- app/helpers/rails_connector/layout_helper.rb
Overview
This module contains helpers that render tags for the html head and the end of the html body.
Instance Method Summary collapse
-
#rails_connector_after_content_tags ⇒ Object
Renders all tags needed at the end of the body tag.
-
#rails_connector_header_tags ⇒ Object
Renders all tags needed in the html head.
Instance Method Details
#rails_connector_after_content_tags ⇒ Object
Renders all tags needed at the end of the body tag.
19 20 21 22 23 24 |
# File 'app/helpers/rails_connector/layout_helper.rb', line 19 def html = "".html_safe html += render_marker_code html += include_editing_javascript html end |
#rails_connector_header_tags ⇒ Object
Renders all tags needed in the html head.
8 9 10 11 12 13 14 15 |
# File 'app/helpers/rails_connector/layout_helper.rb', line 8 def 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 |