weppos / breadcrumbs_on_rails

A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.
https://simonecarletti.com/code/breadcrumbs-on-rails
MIT License
944 stars 188 forks source link

Add Bootstrap compatible Builder #24

Closed riyad closed 11 years ago

riyad commented 12 years ago

For now you have to build a custom builder to have breadcrumbs_on_rails render a Bootstrap compatible breadcrumb navigation.

I have a Gist that might help you with that: https://gist.github.com/1933884

It would be nice if this could be integrated.

Thanks

ghost commented 12 years ago

Nice, have been looking for this. Unfortunately your Gist didn't work for me because of wrong :class parameters. I changed it and uploaded it to a new Gist.

https://gist.github.com/2369079

Thx for your great work.

riyad commented 12 years ago

You are right @shadowhorst ... didn't occur to me. I have fixed my Gist to use the 1.8-compatible Hash syntax. Thx again for the hint. :)

weppos commented 11 years ago

Hi @riyad, I encourage you to publish your builder as a gem. See GH-35 and GH-23.

If you want, I can link it in the README once available.

joost commented 11 years ago

If you use Bootstrap, check https://github.com/seyhunak/twitter-bootstrap-rails. It includes a nice breadcrumbs helper.

riyad commented 11 years ago

@joost while it is good that it already supports it, it fails to accommodate those who are using Bootstrap with Sass. @weppos i'll have a shot at it if time permits.