pangpang
pangpang

Reputation: 8821

Bootstrap 3 Panels not working in rails

I want create panels with Twitter Bootstrap in rails app.

<div class="panel panel-default">
  <div class="panel-heading">Panel heading without title</div>
  <div class="panel-body">
    Panel content
  </div>
</div>

According to the official doc, we will get like this:

enter image description here

but I just get the text.

Panel heading without title
Panel content

Hope someone can help me, thanks in advance!

Upvotes: 1

Views: 713

Answers (1)

pangpang
pangpang

Reputation: 8821

Edit the Gemfile.

# gem "twitter-bootstrap-rails" 
gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git' # install the lastest version

then bundle install to install the latest version.

Upvotes: 1

Related Questions