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:
=

instalar:
=

Versiones:

  1. 0.1.0 June 12, 2019 (30 KB)

dependencias de Runtime (5):

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

dependencias de Development (11):

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

Propietarios:

Autores:

  • Jonathan Roehm

SHA 256 checksum:

=

Total de descargas 2.871

Para esta versión 2.871

Versión publicada:

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: