]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_edit_menu.html.erb
Merge remote-tracking branch 'osmlab/id-default'
[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               :class => "geolink tab #{link_class}" %>
5   <a class='dropdown-toggle' data-toggle='dropdown' href='#'>
6     <b class="caret"></b>
7   </a>
8   <ul class='dropdown-menu'>
9     <% Editors::RECOMMENDED_EDITORS.each do |editor| %>
10       <li>
11         <%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")),
12                     edit_path(:editor => editor),
13                     :data => { :editor => editor },
14                     :class => "geolink #{link_class}" %>
15       </li>
16     <% end %>
17   </ul>
18 </div>