claudiofullscreen
claudiofullscreen
@Incanus3 before proceeding with this PR, could you show me a real example where you need this kind of customization? Thanks!
Also… I think this option should be on the wrapping `nav` selector, so you don't have to add it to each `link_to`.
@Incanus3 Did you know that bh _already_ sets the `active` class on the wrapping `` if the link matches the current page? See http://fullscreen.github.io/bh/#links
If I understand correctly, your nav links are something like - `/events?category=foo` - `/events?category=bar` - `/events?category=boo` and you would live one of the links to be `active` **not** because it...
Hello @Incanus3 – I think the case you are making is very custom. You want to set the `active` class to a link that does not _exactly_ match the current...
@mattscilipoti Is this what you are looking for? http://fullscreen.github.io/bh/#dismissible-alerts
Looking at the code, I realize that we might actually want a simple `button` helper that does not mess up with `button_to`. ``` rhtml ``` would simply transform into ```...
Also, ActionView already provides a similar helper called `button_tag`, so might look into that as well.
Yes! Taking a look at that now.
Could you also squish all your commits together? Thanks! :ribbon: