app/helpers/agilibox/bootstrap_helper.rb in agilibox-1.7.2 vs app/helpers/agilibox/bootstrap_helper.rb in agilibox-1.7.3
- old
+ new
@@ -1,18 +1,16 @@
module Agilibox::BootstrapHelper
class << self
attr_writer :card_classes
- # rubocop:disable Rails/HelperInstanceVariable
def card_classes
@card_classes ||= {
:card => "card",
:header => "card-header",
:body => "card-body",
:footer => "card-footer",
}
end
- # rubocop:enable Rails/HelperInstanceVariable
end
def bs_progress_bar(percentage)
content_tag(:div, class: "progress") do
content_tag(:div, class: "progress-bar", style: "width:#{percentage}%") do