Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

GiMiScale/bootstrap-application-wizard-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap Application Wizard for Rails Assets Pipeline

The Bootstrap Application Wizard is a Bootstrap addon that allows multi-step forms to progress in a natural order while remaining flexible.

Usage

  • Include bootstrap-application-wizard-rails in the Gemfile:

    #!ruby
    gem 'bootstrap-application-wizard-rails'
    
  • Add to app/assets/javascripts/applications.js:

    #!javascript
    //= require bootstrap-application-wizard-rails
    
  • Add to app/assets/stylesheets/application.css:

    #!css
    /*
     *= require bootstrap-application-wizard-rails
     */
    
  • Example use:

    See http://www.panopta.com/2013/02/06/bootstrap-application-wizard/:

    #!html
    <div class="wizard" id="some-wizard">
     
        <h1>Wizard Title</h1>
     
        <div class="wizard-card" data-cardname="card1">
            <h3>Card 1</h3>
            Some content
        </div>
     
        <div class="wizard-card" data-cardname="card2">
            <h3>Card 2</h3>
            Some other content
        </div>
     
    </div>
    

License

See LICENSE.md.

About

The Bootstrap Application Wizard is a Bootstrap addon that allows multi-step forms to progress in a natural order while remaining flexible. This gem integrates it with the Rails asset pipeline for easy of use.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages