[openstreetmap-website] Convert user navigation to a dropdown menu (#447)

Tom Hughes notifications at github.com
Wed Aug 21 23:43:39 UTC 2013


> @@ -0,0 +1,18 @@
> +<div class="dropdown edit_menu">
> +  <%= link_to link_text, edit_path,
> +              :id => 'editanchor',
> +              :class => "geolink tab #{link_class}" %>
> +  <a class='dropdown-toggle' data-toggle='dropdown' href='#'>
> +    <b class="caret"></b>
> +  </a>
> +  <ul class='dropdown-menu' role='menu' aria-labelledby='dLabel'>

This `aria-labelledby` stuff is all new to me, but my reading of the spec is that the value should be a list of element id values, and `dLabel` doesn't seem to be the id of any element?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/447/files#r5913118
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130821/c9b3465c/attachment.html>


More information about the rails-dev mailing list