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
1
vote
1 answer

Can't get twitter-bootstrap-rails mixin to work

I have the following piece of CSS in app/assets/stylesheets/scaffolds.scss: .input-container { @include make-lg-column(3); } When I load the page I get the following error: Undefined mixin 'make-lg-column'. I have the following lines present…
Jason Swett
  • 43,526
  • 67
  • 220
  • 351
1
vote
1 answer

Using bootstrap glyphicon in rails simple form attachment

Hi all I use simple form. I have a model which contains attachment. Everything works fine except for I get a browse button in browser as shown in below image. Instead of Browse button I want bootstrap attachment glyphicon. How can I achieve this?.…
Aditya Y
  • 198
  • 3
  • 13
1
vote
1 answer

Ruby twitter-bootstrap-rails

I am just started learning Ruby rails and immediately facing problem. I am using Windows 8.1, Ruby 2.2.3, Rails 4.2.5. Problem is I installed twitter-bootstrap-rails gem, like this: gem install twitter-bootstrap-rails , and it said me everything…
1
vote
1 answer

Using Less Mixins with twitter-bootstrap-rails

I'm making my first attempt to use bootstrap mixins with the twitter-bootstrap-rails gem with bootstrap. Within the file app/assets/stylesheets/custom.less I have the following .form-left{ .col-md-4; .col-md-offset-2; } So my aim is for the…
1
vote
3 answers

font glyphicons not working with bootstrap 3 and rails 4

I cannot get glyphicons to work with bootstrap 3 and rails. I've scowered the internet and nothing i find helps. In my bootstrap.css file i have: @font-face { font-family: 'Glyphicons Halflings'; src:…
1
vote
2 answers

How can a dropdown be stylized when using twitter bootstrap with simple_form in a Rails app?

I am using simple_form and twitter-bootstrap-rails gems. Every thing is working fine but somehow drop-down is not getting stylized by twitter bootstrap rails ..it shows like normal forms. <%= f.input :category, :collection => ["one", "two",…
1
vote
0 answers

twitter-bootstrap-rails loading the wrong version of bootstrap

I am having a really weird problem here. I installed the twitter-bootstrap-rails gem as followed: gem 'twitter-bootstrap-rails', git: 'git://github.com/seyhunak/twitter-bootstrap-rails.git', branch: 'bootstrap3' Than, after I ran the generator to…
renatojf
  • 734
  • 2
  • 11
  • 29
1
vote
1 answer

Upgrade twitter bootstrap using twitter-bootstrap-rails gem

Im using the twitter-bootstrap-rails gem in my application. I discovered that this gem uses the 2.3 twitter bootstrap version cause i have to use class="span6" not class="col-md6" when creating a grid. How can I upgrade to bootstrap 3?
Jepzen
  • 2,942
  • 6
  • 40
  • 62
1
vote
4 answers

Bootstrap Integration gem with Rails 4

I recently attended a hackathon, and we a made a web application in rails. We were all new to rails and were not aware of the bootstrap gem, and thus we hard coded the bootstrap style sheet in the assets folder. In an effort to learn Rails,…
Hummus
  • 365
  • 1
  • 7
  • 16
1
vote
2 answers

Bootstrap glyphicons appearing as squares

I'm running Rails 4 with the 'twitter-bootstrap-rails' gem (2.0.5) and some reason beyond me glyphicons appear solely as squares. The rest of bootstrap seems to be working fine. I've tried adding font-awesome directly but to no appeal. Any ideas on…
Raphi
  • 410
  • 4
  • 17
1
vote
1 answer

Integrating bootstrap template with rails?

I bought a HTML/CSS bootstrap template from themeforest.net. And I'm trying to import it into rails so I could start editing it and developing further more.I followed all of the guides on how to add assets (js,images,fonts and css) into rails and…
1
vote
1 answer

Routing error with font-awesome assets in Rails 3

The font-awesome css file is located in app/assets/stylesheets/font-awesome.css and yet the error is: ActionController::RoutingError (No route matches [GET] "/assets/stylesheets/font-awesome.css"): actionpack (3.2.12)…
1
vote
0 answers

rails 4 locale switcher not working on heroku

I have a bilingual rails 4 application deployed in Heroku - russian & english. Everything worked until one day the locale switcher broke for no reason. It's working completely fine on development and production version - when I point to language…
Ronen
  • 734
  • 1
  • 9
  • 14
1
vote
1 answer

Formatting a form_for input in Rails using Bootstrap

I have a form_for in my rails app. I just figured out how to override bootstrap css on input text fields. but I dont know how to override the css on input text area Okay so this is how I change the natural styling of my text field. CSS .product-form…
1
vote
2 answers

The top of jquery datepicker is not displaying properly

Hi I am having an issue with the button panel in jQuery Datepicker. I am using the date picker in JQGrid and the top of the datepicker is not displaying correctly If the button panel displayed correctly I wouldn't care that it's there but its not.…
Jeff Finn
  • 1,975
  • 6
  • 23
  • 52