zachinglis / crummy

Tasty breadcrumbs! Crummy is a simple and tasty way to add breadcrumbs to your Rails applications.
http://zachinglis.com
MIT License
358 stars 82 forks source link

li class #32

Closed tomkrus closed 11 years ago

tomkrus commented 11 years ago

Something like this:

= render_crumbs :format => :html_list, :ul_id => "crumbid", :ul_class => "crumbclass", :li_class => "liclass"

returns empty li class

this:

= render_crumbs :format => :html_list, :ul_id => "crumbid", :ul_class => "crumbclass", :li_class => "liclass", :first_class => "first", :last_class => "last"

retrurns li.first, li.liclass, li.last (for three crumbs)

active_li_class not working also

and if I install gem, it installs version 1.6.0 without microdata

andrew commented 11 years ago

There is a new version (1.7.0) which includes microdata

I've just fixed the problem with li_class here: https://github.com/zachinglis/crummy/commit/a25e75868c768d03719a1c25420b751088c0a6f8

Still need to fix active_li_class