Sha256: ffb45faa7aebdd3aa647b3fa41d87509e2135065ea92bf0f956ac9adeb8d3e16
Contents?: true
Size: 714 Bytes
Versions: 38
Compression:
Stored size: 714 Bytes
Contents
.btn-group - buttons[:buttons].each do |button| - o = (button[:options] || {}).merge(class: "btn btn-sm btn-default #{button[:options].try(:[], :class)}") = link_to fa_icon(button[:icon]), button[:path], o - if buttons[:submenu].present? button.btn.btn-default.btn-sm.dropdown-toggle data-toggle='dropdown' span.caret ul.dropdown-menu role='menu' - buttons[:submenu].each do |button| - if button == :divider li.divider role="presentation" - else li= link_to button[:path], button[:options] do - if button[:icon].present? => fa_icon(button[:icon]) - if button[:label].present? = button[:label]
Version data entries
38 entries across 38 versions & 1 rubygems