]> git.openstreetmap.org Git - rails.git/commitdiff
Use section elements instead of div.section on about page
authorAnton Khorev <tony29@yandex.ru>
Thu, 11 Apr 2024 21:30:24 +0000 (00:30 +0300)
committerAnton Khorev <tony29@yandex.ru>
Thu, 11 Apr 2024 21:30:24 +0000 (00:30 +0300)
app/views/site/_about_section.html.erb

index 60fd3f0690987d8bfd325762f1ae429918f4680c..4baec7238b25236581f8d2a4e113155a30360e8b 100644 (file)
@@ -1,4 +1,4 @@
-<%= tag.div :class => "section", :id => local_assigns[:id] do %>
+<%= tag.section :id => local_assigns[:id] do %>
   <div class='d-flex align-items-center gap-2 mb-2'>
     <div class='flex-shrink-0 icon <%= icon %>'></div>
     <h2 class='flex-grow-1 mb-0'><%= t "site.about.#{title}_title" %></h2>