- <div class="flex-grow-1 text-break">
- <h2><%= title %></h2>
- </div>
- <div class="px-3 py-3">
- <a class="geolink" href="<%= root_path %>">
- <span class="icon close"></span>
- </a>
+ <h2 class="flex-grow-1 text-break"><%= title %></h2>
+ <div>
+ <button type="button" class="btn-close" aria-label="<%= t("javascripts.close") %>"></button>