]> git.openstreetmap.org Git - rails.git/blob - app/views/site/_about_section.html.erb
Don't show unredacted element versions to non-moderators
[rails.git] / app / views / site / _about_section.html.erb
1 <%= tag.div :class => "section", :id => local_assigns[:id] do %>
2   <div class='d-flex align-items-center gap-2 mb-2'>
3     <div class='flex-shrink-0 icon <%= icon %>'></div>
4     <h2 class='flex-grow-1 mb-0'><%= t "site.about.#{title}_title" %></h2>
5   </div>
6   <%= yield %>
7 <% end %>