]> git.openstreetmap.org Git - rails.git/blob - app/views/browse/_containing_relation.html.erb
Fix new rubocop warnings
[rails.git] / app / views / browse / _containing_relation.html.erb
1 <li><%= linked_name = link_to printable_name(containing_relation.relation), :action => "relation", :id => containing_relation.relation.id.to_s
2         if containing_relation.member_role.blank?
3           t ".entry_html", :relation_name => linked_name
4         else
5           t ".entry_role_html", :relation_name => linked_name, :relation_role => containing_relation.member_role
6         end %>
7 </li>