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
0
votes
0 answers

twitter bootstrap rails fields_for equivalent

I am working with a Rails 6.1 project and am using the twitter-bootstrap-rails gem to create a form using bootstrap_form_for for an object that has an association. I would like to add the association fields to the form, and am finding that Rails has…
0
votes
1 answer

Bootstrap Rails Form Label Inline Instead of Above Field

I have the following form using this gem for Rails Bootstrap forms: https://github.com/bootstrap-ruby/bootstrap_form My form code looks like this: <%= bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> …
0
votes
1 answer

Upgrading the twitter bootstrap gem from 2.x to 3.x or 4.x is breaking the UI styles

I am trying to upgrade the twitter-bootstrap-rails gem version from 2.2.8 version to 3.2.2 version since 2.2.8 has vulnerabilities. But while upgrading the gem version it is breaking the UI styles everywhere in the application nav-bar, search, and…
0
votes
1 answer

Button_tag not working inside table in Rails

I have the following button_tag inside a form in a table:
** If I move the button here, it works perfectly ** …
0
votes
2 answers

Rails with Bootstrap (on Windows) - empty application.css file and styling won't load

Relevant part of GemFile: Bundle install: And still no effect: From \app\views\layouts\application.html.erb: <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> application.js: //…
0
votes
0 answers

twitter-bootstrap-rails gem + Snapchat icon

I am trying to implement Snapchat Font Awesome icon in my Rails app. To implement Bootstrap I have installed twitter-bootstrap-rails gem. I am able to implement Facebook Font Awesome icon using , but
Vishal
  • 707
  • 1
  • 8
  • 30
0
votes
1 answer

Twitter-bootstrap-rails: does it install Bootstrap into a project?

I do everything according to Readme but having an issue when starting a rails app: Sprockets::FileNotFound And it points to //= require twitter/bootstrap Does this gem really install bootstrap stylesheets and corresponding js libraries or one is…
DreamWalker
  • 1,327
  • 1
  • 11
  • 19
0
votes
1 answer

Rails 4 Bootstrap Search Form in Navbar

I have some rails-bootstrap-form code in a header partial that gets rendered in the Rails 4 application layout:
0
votes
1 answer

cannot load such file -- v8 (in E:/work/store/app/assets/stylesheets/bootstrap_and_overrides.css.less)

1)rails new store 2)rails g scaffold product name price:decimal --skip-stylesheets 3)rake db:migrate 4)in Gemfile : gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git' 5)bundle install 6)rails generate…
0
votes
1 answer

Active class did not set to menu_item if url have '?' sign in twitter-bootstrap-rails gem

I using gem https://github.com/seyhunak/twitter-bootstrap-rails/ and navbar helpers from them to build header. For ex. i have a users link in my header. And if current url is '/users', users link sets active and highlighted correcrly. But if current…
shade88
  • 102
  • 8
0
votes
1 answer

twitter-bootstrap-rails: error loading stylesheets

I'm trying to use the Twitter-bootstrap-rails gem for the first time and I'm having some issues. I deleted all the stylesheets that rails generates except for application.css and I ran rails g bootstrap:install less to get the…
0
votes
1 answer

twitter-bootstrap-rails gem not installing in Rails project

I've just created a new rails application and I am trying to run rails g bootstrap:install from my terminal but my terminal returns this... Why might this be? I am running rails 4.1.6 and I have bundled all the necessary gems. My only thought would…
samgbelton
  • 89
  • 1
  • 10
0
votes
0 answers

Rails 4.1.6 Could not find generator bootstrap:install

I am getting the message Could not find generator bootstrap:install on Rails 4.1.6 My gem file looks like this: source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails' gem 'rails', '4.1.6' # Use postgresql as the database for…
sushant
  • 23
  • 1
  • 5
0
votes
1 answer

Rails Bootstrap Forms : method gone

I am using the following gem: https://github.com/bootstrap-ruby/rails-bootstrap-forms Its installed by Bundler. I added the require statement in my application.css. Yet, when I call the bootstrap_form_tag in my view, I get a NoMethodError Undefined…
MiningSam
  • 583
  • 2
  • 7
  • 22
0
votes
2 answers

In my Bootstrap/Rails app, Which file do I add my Custom navbar CSS to?

I have got some Bootstrap functionality up and running on my app. So far so good. I know that the 2 defaults colors for the navbar are black and white,using navbar-default and navbar-inverse. I am trying to add the navbar color change CSS to the…