Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tabit

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tabit

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Tabit

Gem Version Build Status Code Climate Test Coverage Dependency Status

Tabit is a simple tab menu generator. It depends on active_link_to helper. If you dont know how to set an item active take a look at it first. The generated source is compatible to bootstrap tabs with dropdowns.

Installation

gem "tabit", "~> 1.0.0"

Usage

= tabit :class => "nav nav-tabs" do |t1|
  - t1.heading "Header"
  - t1.add "Videos", videos_path
  - t1.divider
  - t1.add "Movies", movies_path, active: /movies(\/\d)*(\/edit)*$/
  - t1.add "Movies, movies_path, active: :exclusive, type: :dropdown do |t2|
    - t2.add "Add movie", new_movie_path, active: :exclusive

Contributing

Fork -> Patch -> Spec -> Push -> Pull Request

Authors

License

MIT

Copyright (c) 2012-2015 Webhippie <http://www.webhippie.de>

FAQs

Package last updated on 21 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc