Sha256: a21cbe15e23e3003a7c4c7d81347f9d368afa78212c8bf4886ed0cca549e8e00
Contents?: true
Size: 539 Bytes
Versions: 96
Compression:
Stored size: 539 Bytes
Contents
module Pageflow # @api private module HelpEntriesHelper def help_entry_sections(config) render(partial: 'pageflow/help_entries/section', collection: config.help_entries.flat, as: :help_entry) end def help_entries_menu(config) render('pageflow/help_entries/menu', help_entries: config.help_entries) end def help_entry_li(help_entry, &block) css_class = help_entry.children.present? ? 'expandable' : nil content_tag(:li, class: css_class, &block) end end end
Version data entries
96 entries across 96 versions & 1 rubygems