Sha256: a7f9e5bce1b766c39e99982fb9cc38ce55bfcf1a249e405a5e74d7730d555b79

Contents?: true

Size: 245 Bytes

Versions: 5

Compression:

Stored size: 245 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
agilibox-1.5.13 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.5.12 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.5.11 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.5.10 app/helpers/agilibox/bootstrap_helper.rb
agilibox-1.5.9 app/helpers/agilibox/bootstrap_helper.rb