Questions tagged [twitter-bootstrap-rails]

twitter-bootstrap-rails is a toolkit from Twitter designed to kickstart development of webapps and sites.

Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.

See https://github.com/seyhunak/twitter-bootstrap-rails

201 questions
2
votes
2 answers

How to create a checkbox grid using a has_many :through association

Ok so I have the following setup and need some direction. I have wasted almost 2 days on this issue and I need to move on: So Roles and Permissions are associated through RolePermissions Role -> RolePermission -> Permission I am looking to create a…
2
votes
1 answer

Modifying Bootstrap form's submit button to custom css

I have been learning from and using elements of Hartl's Rails tutorial for my own app and learning experience. In the tutorial, in order to follow a user, the default option has been clicking through a Bootstrap-Sass button alongside Rails'…
daspianist
  • 5,336
  • 8
  • 50
  • 94
2
votes
0 answers

Select All Checkbox / Twitter Bootstrap Rails

I'd like to know how to create a "Select All" checkbox in my table. The only thing is that I'm not using input tag for the checkboxes, I'm using f.check_box. Here's my tbody:
2
votes
1 answer

Heroku ActionView::Template::Error Precompile Error

I've been battling this issue for one of my sites for over a day. I've pushed several sites to Heroku but this one (which works fine locally) constantly gives me a "We're sorry, but something went wrong." message on Heroku. When I look at the Heroku…
2
votes
1 answer

How to style Twitter Bootstrap's typeahead (e.g. set background color)

How can I set a custom background color for e.g., the active item in the dropdown when using Bootstrap's "typeahead" autocomplete? A minor problem, but one that has been frustrating me for a couple of hours! I'm using Twitter Bootstrap in a Rails…
2
votes
2 answers

How to get Bootstrap's "hero-unit" to fit across the entirety of top section?

I am currently learning Rails and CSS, and am trying to replicate the look of Bootstrap's github page as a learning exercise. Bootstrap's central unit (purpleish colored, and contains the big header "Bootstrap") fits across all of the top of the…
daspianist
  • 5,336
  • 8
  • 50
  • 94
2
votes
1 answer

twitter-bootstrap-rails: @iconSpritePath can't be resolved in production environment

I just deployed my rails app to Heroku, and all my bootstrap icons that showed up fine in the development environment only showed up as little squares on Heroku. The same thing happens when I'm running the app in production mode on my local machine…
2
votes
3 answers

How to change the color of Bootstrap links

I am using twitter bootstrap and I have some code like this: <%= link_to "Create", new_something_path %> which renders the text in a light blue color, highlighting it as a link. How would I reference that element to change it via css?
2
votes
3 answers

Why is the Twitter Bootstrap "fixed" layout NOT fixed?

The Twitter Bootstrap site reads as follows: The default and simple 940px-wide, centered layout for just about any website or page provided by a single
. Quote from…
leonel
  • 10,106
  • 21
  • 85
  • 129
2
votes
1 answer

Using twitter bootstrap rails in an engine

I'm currently trying to develop a rails engine and i would like to use twitter boostrap rails in this engine. I've already added the gem to my dependencies in the gemspec file but there's rails generators that need to be executed to run properly .…
2
votes
1 answer

Rails 3.2 Bootstrap Tooltip reports ".tooltip() is not a function"

I'm using a combination of Rails 3.2.5 with bootstrap-sass gem. I've declared the following in application.js to ensure all js plugins are loaded. //= require bootstrap To double-check that inclusion succeeds I verify the html source of the page…
2
votes
1 answer

twitter-bootstrap-rails maximum column width

I am working on a really simple app that is styled using twitter-bootstrap-rails. One my model index page there is a table that displays the data and it looks really great. The problem is that if someone enters a really long string of unbroken…
2
votes
1 answer

Twitter bootstrap popover: show all at the same time

How can I show all the popovers on a page at the same time?
snowangel
  • 3,452
  • 3
  • 29
  • 72
2
votes
3 answers

Twitter Bootstrap Rails: How to write semantic HTML by reusing classes?

So I installed the twitter-bootstrap-rails gem. I ran the generator to create a bootstrap_and_overrides.css.less file. Now I would like to write some semantic HTML. So instead of writing:
Andrew
  • 227,796
  • 193
  • 515
  • 708
1
vote
0 answers

Ruby on Rails Bootstrap undefined method `start_with?' for /bootstrap\/glyphicons-halflings-regular\.(?:eot|svg|ttf|woff)$/:Regexp

First of all, good forum to all. I'm trying to make a simple forum site with Ruby on Rails and I decided to use bootstrap as a css library and I successfully installed it. However, although there is no error in the installation, when I go to the…