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 校验和:

32cbcf0499dfc7d8ef1137830ca41aef5da8af8c69ec1294b3ea3e40bc17dc0c

下载总量 2,756

这个版本 2,756

许可:

MIT

需要的 Ruby 版本: >= 0

链接: