app/helpers/agilibox/bootstrap_helper.rb in agilibox-1.9.5 vs app/helpers/agilibox/bootstrap_helper.rb in agilibox-1.9.6
- old
+ new
@@ -11,11 +11,11 @@
}
end
end
def bs_progress_bar(percentage)
- content_tag(:div, class: "progress") do
- content_tag(:div, class: "progress-bar", style: "width:#{percentage}%") do
+ tag.div(class: "progress") do
+ tag.div(class: "progress-bar", style: "width:#{percentage}%") do
"#{percentage}%"
end
end
end