Sha256: 01a045c8697f2d46b7c191698a1de63d73f9e188d52e427f5d1f61000e150a51
Contents?: true
Size: 496 Bytes
Versions: 28
Compression:
Stored size: 496 Bytes
Contents
module CurationConcerns module PermissionsHelper def help_link(file, title, aria_label) link_to help_icon, '#', data: { toggle: 'popover', content: capture_content(file), 'original-title' => title }, 'aria-label' => aria_label end private def capture_content(file) capture do render file end end def help_icon content_tag 'i', '', 'aria-hidden' => true, class: 'help-icon' end end end
Version data entries
28 entries across 28 versions & 1 rubygems