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:
= Copy to clipboard Copied!

install:
=

Versions:

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

Runtime Dependencies (5):

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

Development Dependencies (11):

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

Owners:

Authors:

  • Jonathan Roehm

SHA 256 checksum:

32cbcf0499dfc7d8ef1137830ca41aef5da8af8c69ec1294b3ea3e40bc17dc0c

Total downloads 2,748

For this version 2,748

License:

MIT

Required Ruby Version: >= 0

Links: