From: Harry Wood Date: Sat, 5 Mar 2022 01:41:02 +0000 (+0000) Subject: Fix minor HTML tag mismatches X-Git-Tag: live~1723^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/2ce44a2a856c3b6024000cb362dc875cfa6f4618 Fix minor HTML tag mismatches Fix some HTML tag mismatches and other glitches. These are minor, and don't appear to cause browsers any problems, but for the sake of correctness: * A closing td which should be a closing div. * A closing h3 for a corresponding h6 * Two tables with `` tag and missing `` around the `` headings. test change for thead fix --- diff --git a/app/views/oauth2_applications/index.html.erb b/app/views/oauth2_applications/index.html.erb index 119bf5878..4ed849f98 100644 --- a/app/views/oauth2_applications/index.html.erb +++ b/app/views/oauth2_applications/index.html.erb @@ -7,10 +7,12 @@ <% if @applications.length > 0 %> - - - - + + + + + + <%= render :partial => "application", :collection => @applications %> diff --git a/app/views/oauth2_applications/show.html.erb b/app/views/oauth2_applications/show.html.erb index 296705811..8d9c8516d 100644 --- a/app/views/oauth2_applications/show.html.erb +++ b/app/views/oauth2_applications/show.html.erb @@ -48,4 +48,4 @@
<%= link_to t(".edit"), edit_oauth_application_path(@application), :class => "btn btn-outline-primary" %> <%= link_to t(".delete"), oauth_application_path(@application), { :method => :delete, :class => "btn btn-outline-danger", :data => { :confirm => t(".confirm_delete") } } %> - +
diff --git a/app/views/oauth2_authorized_applications/index.html.erb b/app/views/oauth2_authorized_applications/index.html.erb index b9599a919..2d3ad00bd 100644 --- a/app/views/oauth2_authorized_applications/index.html.erb +++ b/app/views/oauth2_authorized_applications/index.html.erb @@ -7,9 +7,11 @@ <% if @applications.length > 0 %>
<%= t ".name" %><%= t ".permissions" %>
<%= t ".name" %><%= t ".permissions" %>
- - - + + + + + <%= render :partial => "application", :collection => @applications %> diff --git a/app/views/site/help.html.erb b/app/views/site/help.html.erb index e6c65a992..c82893e9d 100644 --- a/app/views/site/help.html.erb +++ b/app/views/site/help.html.erb @@ -16,7 +16,7 @@ <%= t ".#{site}.title" %> - +

<%= t ".#{site}.description" %>

<%= t ".application" %><%= t ".permissions" %>
<%= t ".application" %><%= t ".permissions" %>