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
8
votes
1 answer

How to add styling to a single input in a form_for

I'm using the rails framework with HAML and I have bootstrap setup. How would I format the field inputs seperately. I want the input field for name to be 60% of the screen float left and the input for price to be 25% of the screen and float right. I…
Alain Goldman
  • 2,896
  • 5
  • 43
  • 75
7
votes
3 answers

rails generate bootstrap layout with bootstrap-sass instead of twitter-bootstrap-rails

I had to choose from bootstrap-sass and twitter-bootstrap-rails and I've opted for the first as per suggestions on the web. However, I see that twitter-bootstrap-rails gem has some generators for application layout. Like, rails g bootstrap:layout…
7
votes
3 answers

Warning using twitter-bootstrap-rails generators on Windows

I'm trying to use the twitter-bootstrap-rails gem on my first Rails project, on a Windows 7 machine running ruby 1.9.3p125 (2012-02-16) [i386-mingw32] Rails 3.2.1 twitter-bootstrap-rails 2.1.1 When I run rails g bootstrap:install I get the…
liamja
  • 320
  • 3
  • 10
7
votes
3 answers

Rails 3.2.3 + Twitter Bootstrap + Nav-Tabs: How to show a specific tab?

another newbie-question regarding rails and bootstrap. I am using something like this:
6
votes
3 answers

Bootstrap Tooltip in Ruby on Rails

I'm trying to get this done for quite some time now and i can't figure out whats wrong: My Link: <%= link_to '#', tag, class: "tag-tooltip", :data => {:toggle=>"tooltip"}, 'data-original-title' => "Hey Whats…
6
votes
3 answers

Using Bootstrap to Change Button Color

I'm using RoR to make a one-month rails website. This is the code from the styles.css.scss sheet. It utilizes bootstrap. I am unsure as to why but the button color does not change despite the $btnPrimaryBackground: green text. Does anyone have any…
sgx
  • 1,265
  • 3
  • 19
  • 36
6
votes
2 answers

ActionView::Template::Error (variable @fontAwesomeEotPath_iefix is undefined)

I get an error while trying to load any page: ActionView::Template::Error (variable @fontAwesomeEotPath_iefix is undefined) (in /app/assets/stylesheets/bootstrap_and_overrides.css.less)): 2: 3: 4: Program
5
votes
2 answers

Capybara: Unable to find form field with js: true

I wrote some tests using capybara for request testing using poltergeist and phantomjs as javascript driver. The following steps for filling in a login form works great without js: it "signs in" do visit new_user_session_path fill_in "Email",…
5
votes
2 answers

Smaller size of f.date_select boxes

I'm using Rail's 'f_date_select' with Twitter Boostrap, which results in the look below. However, I want the select boxes to be smaler (~ half the size). How can I do this? <%= f.label :start_date, :class => "control-label"%> <%= f.date_select…
5
votes
3 answers

Tips on coding this layout with Twitter Bootstrap

I am trying to make this layout with Twitter Bootstrap (only the boxes) : Basically, it is a youtube embedded video and two equal size boxes to its right. I have this right now (haml) : .row .span8 / embedded code .span4 / I need to put…
5
votes
3 answers

Deploying to Production in Rails 3.2.6 with Twitter-Bootstrap-Rails

hey folks I'm having a bit of an issue trying to deploy my rails 3.2.6 app to production, deploy seems to go fine right up until it gets to precompiling assets here is the error I'm getting: command finished in 1740ms * executing "cd…
5
votes
6 answers

Override bootstrap variables in twitter-bootstrap-rails gem

How to use custom variables when using twitter-bootstrap-rails gem? I want to change the default widths for the grid system and have added the following line to my bootstrap_and_overrides file and nothing happens... @gridColumnWidth: 50px; What am…
oFca
  • 2,830
  • 6
  • 31
  • 43
4
votes
1 answer

Unable to create bootstrap-themed scaffold in Ruby on Rails

I'm trying to generate a bootstrap-themed scaffold via the following actions: Add gem 'twitter-bootstrap-rails' line to the end of the Gemfile and run bundle install Run rails generate bootstrap:install static as stated in the documentation Place…
4
votes
1 answer

Ruby on Rails / Bootstrap : dynamic datas in a modal

I am beginning with Ruby on Rails and have a question about the use of the bootstrap's modal. So my problem is that i have a table and for each row of this table i make a button to display with the modal some other informations about dependent…
4
votes
1 answer

Bootstrap and Rails issue with Heroku Deployment

Im making a Ruby on Rails app. I've included the twitter-bootstrap rails gem. Having tested the app locally, I've attempted numerous times to deploy to Heroku. I first encountered this 500 error: ActionView::Template::Error…
1
2
3
13 14