RubyGems Navigation menu

bootstrap4_rails_components 0.1.0

Implementation of view helper methods that utilize robust options and traits to generate semantic Bootstrap4 HTML for Ruby on Rails. Supply themes, rails helper options (such as :method and :confirm for a `link_to`). Example usage: `<%= ui.bootstrap :button, :primary, :block, href: user_path(@user), method: :delete, confirm: 'Are you sure?', tooltip: 'Adds a new user' %>` Which outputs a primary button with `btn-block` that uses rails method & confirm, and automatically supplies a tooltip (and there's much more!)

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.1.0 - June 12, 2019 (30.0 KB)

Runtime 相依性套件 (5):

bootstrap = 4.3.1
jquery-rails ~> 4.3
rails >= 4.2.0
sass-rails ~> 5.0

Development 相依性套件 (11):

capybara ~> 3.9
puma ~> 3.12
rspec-rails ~> 3.8
simplecov ~> 0.16
sprockets >= 0, ~> 3.7
sqlite3 ~> 1.3

擁有者:

作者:

  • Jonathan Roehm

SHA 256 checksum:

32cbcf0499dfc7d8ef1137830ca41aef5da8af8c69ec1294b3ea3e40bc17dc0c

總下載次數 2,756

這個版本 2,756

License:

MIT

Ruby 版本需求: >= 0

相關連結: