]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_edit_menu.html.erb
Update to iD v1.3.4
[rails.git] / app / views / layouts / _edit_menu.html.erb
1 <div class="dropdown edit_menu">
2   <%= link_to link_text, edit_path,
3               :id => 'editanchor',
4               :data => { :editor => preferred_editor },
5               :class => "geolink tab #{link_class}" %>
6   <a class='dropdown-toggle' data-toggle='dropdown' href='#'>
7     <b class="caret"></b>
8   </a>
9   <ul class='dropdown-menu'>
10     <% Editors::RECOMMENDED_EDITORS.each do |editor| %>
11       <li>
12         <%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")),
13                     edit_path(:editor => editor),
14                     :data => { :editor => editor },
15                     :class => "geolink #{link_class}" %>
16       </li>
17     <% end %>
18   </ul>
19 </div>