groovydev / twitter-bootstrap-grails-plugin

Grails plugin for Twitter Bootstrap CSS framework resources
173 stars 92 forks source link

Can't load "bootstrap-dropdown" module in main.gsp #19

Closed ghost closed 12 years ago

ghost commented 12 years ago

I have a need to use dropdown feature of bootstrap. But I am not able to load boostrap-dropdown module.

I am loading this module inside grails-app/views/layouts/main.gsp. Here's the code:

https://gist.github.com/1925799

groovydev commented 12 years ago

I think, You need to add the layoutResources tag twice to your page, for the resources and end-of-body resources.

http://grails-plugins.github.com/grails-resources/guide/1.%20Overview.html#1.1.3%20Edit%20your%20Sitemesh%20layout

ghost commented 12 years ago

That solved it! Thanks a bunch :)