sharp
sharp

Reputation: 887

Troubles with "modal_dialog" in ROR bootstrap

I use gem "twitter-bootstrap-rails", and follow the official steps to install it.

But modal_dialog helper give me very specific result -

<%= modal_dialog id: "modal",
             header: {  dismiss: 'modal', title: 'Modal header' },
             body:   { content: 'This is the body' },
             footer: { content: content_tag(:button, 'Save', class: 'btn') } %>

helper in work ...

It's need to notice, if I copy/paste modal snippet from TWB site it worked fine..

Upvotes: 0

Views: 55

Answers (1)

ttmkmr
ttmkmr

Reputation: 36

modal_dialog method seems to be broken in twitter-bootstrap-rails v3.2.0.

Try 3.2.1.rc1.

Upvotes: 2

Related Questions