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

Rails Assets: expected ')' got '}' - Command failed with status (1)

I have recently started to experience strange behavior with my assets pipeline. I am using Ruby on Rails (3.2.3). Notable libraries I'm using: # From Gemfile gem 'jquery-rails' gem 'therubyracer', :require => 'v8' gem "less-rails" gem…
0
votes
2 answers

Relative URL with CSS Upgrade

I am developing an application with Ruby on Rails, and I'm using bootstrap to upgrade my CSS. My question is: If I have the next URL link: link href="css/bootstrap.css" rel="stylesheet" How can I redefine the URL to be a relative one, thus it will…
0
votes
2 answers

How to re-use models and controllers across rails applications

We are coming up with a new twitter bootstrap theme for new functionality within our application. Our existing functionality will use the existing theme with models/controllers. But I would like to re-use the existing models/controllers and use the…
diya
  • 6,938
  • 9
  • 39
  • 55
0
votes
1 answer

Load Modal Contents Only When show is called

I have a nice little ToDo application that allows a user to create an item in a list. They can click and drag the items in the list to sort the order. However, I am worried about performance when it comes to them being able to select an icon for…
kobaltz
  • 6,980
  • 1
  • 35
  • 52
0
votes
1 answer

Bootstrap's popover in Rails - no console errors, but it's not rendering

I'm trying to use Bootstrap's popover effect in my Rails 3.2 app (the bootstrap-sass gem). I've included all of Bootstrap's scripts in application.js, along with the popover code applied to the element I want: assets/javascripts/application.js: //=…
hlh
  • 1,992
  • 15
  • 24
0
votes
1 answer

Is it possible to replace a button/submit within a form_for or simple_form_for with a glyphicon/raw html?

I've been toying with using icons instead of standard buttons. I like the look of it and occasionally a icon is clearer than a labelled button. While I found it easy to implement for link_to calls; <%= link_to raw('
SinFulNard
  • 173
  • 2
  • 2
  • 10
0
votes
1 answer

twitter bootstrap fluid layout

I want to implement the fluid layout. Shown as here http://twitter.github.com/bootstrap/scaffolding.html#global What i did: added gem 'twitter-bootstrap-rails + bundle install layouts/applicationlayout
ubuseral
  • 427
  • 1
  • 3
  • 14
0
votes
2 answers

Generate downloadable PDF's from HTML Tables on Rails

I'm looking for a tool to create PDF's from HTML Tables, one compatible with Rails and Twitter Bootstrap. I'm aware of Prawn but I'd like to know other tools. Please help. Thanks
MarioTR
  • 23
  • 3
0
votes
3 answers

Not found bootstrap.css when using twitter-bootstrap-rails gem [Rails3]

I would like to use less with twitter-bootstrap-rails gem, but i receiving "Failed to load /assets/bootstrap.css" and "Failed to load /assets/bootstrap-responsive.css" errors (safari web inspector). Any ideas? Here is my Gemfile: source…
0
votes
1 answer

Simple link to bootstrap modal confusion rails

I don't understand what is wrong with my syntax here, maybe I need another pair of eyes this should result in a user clicking on the twitter image to pop open a bootstrap modal, but I'm getting this error- wrong number of arguments (3 for 2) The…
computer_smile
  • 2,117
  • 2
  • 24
  • 42
0
votes
1 answer

Heroku app not working after rails upgraded to 3.2.11

I am getting this error at Heroku logs. I ve updated the rails version to 3.2.11 and then updated the bootstrap as Herokupeople have mentioned this that there are some security issues with the Rails 3.2.10. The error is as…
Ahmad hamza
  • 1,816
  • 1
  • 23
  • 46
0
votes
2 answers

Fluid Image Rollover Twitter Bootstrap Rails

I've started creating a rollover image effect for a Rails application I'm working on. I'm using the twitter-bootstrap-rails gem to keep the application looking good across devices. The problem I'm having with my current implementation is that when…
user788581
0
votes
1 answer

Twitter Bootstrap dropdown misbehavior

I have two dropdown one have an id and the other have not, and I want to trigger an ajax request and the action to show the dropdown list. And this is how Im trying to do it, but has some misbehavior, in this case the ajax request it's triggered…
0
votes
0 answers

Rails Bootstrap popover won't toggle

I'm trying to get a Bootstrap popover to toggle. JS code: $('#post_description').popover('toggle') Form code: <%= f.input :description, :label => 'Description', :input_html => {:rows => '10', :class => "span8", "data-content" =>'Hey',…
Reddirt
  • 5,913
  • 9
  • 48
  • 126
0
votes
2 answers

How to upload a "wrap bootstrap" theme for Rails 3.2 to Heroku

I bought a theme from http://wrapbootstrap.com. The theme says, "Uses LESS: No" Made with Bootstrap 2.2.1, HTML5/CSS3 I can't get the theme to work/upload to Heroku. Does anyone know what I'm doing wrong? The theme runs fine on localhost. When I try…