Sha256: 4e3bff81ab5245636b55bc010bf965dfdb74a3b078f4538c250d6bb44717ab18
Contents?: true
Size: 487 Bytes
Versions: 25
Compression:
Stored size: 487 Bytes
Contents
module OverlappedButtonsHelper def restart_icon overlapped_button_icon :restart, :undo end def format_icon overlapped_button_icon :format, :indent end def restart_guide_link(guide) link_to restart_icon, guide_progress_path(guide), class: 'mu-content-toolbar-item', data: {confirm: t(:confirm_restart)}, method: :delete end def overlapped_button_icon(key, icon) fa_icon(icon, title: t(key), class: 'fa-fw', role: 'button', 'aria-label': t(key)) end end
Version data entries
25 entries across 25 versions & 1 rubygems