app/helpers/agilibox/bootstrap_helper.rb in agilibox-1.5.8 vs app/helpers/agilibox/bootstrap_helper.rb in agilibox-1.5.9

- old
+ new

@@ -1,7 +1,14 @@ module Agilibox::BootstrapHelper + def bs_progress_bar(percentage) + content_tag(:div, class: "progress") do + content_tag(:div, class: "progress-bar", style: "width:#{percentage}%") do + "#{percentage}%" + end + end + end end