Merge pull request #51874 from stiig/fix-colspan-for-rails-routes

Fix colspan for representing search results in the rails routes
This commit is contained in:
Rafael Mendonça França 2024-05-24 15:47:05 -04:00 committed by GitHub
commit cff6b2cd8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

@ -158,7 +158,7 @@
function buildTr(string) {
var tr = document.createElement('tr');
var th = document.createElement('th');
th.setAttribute('colspan', 4);
th.setAttribute('colspan', 5);
tr.appendChild(th);
th.innerText = string;
return tr;

@ -289,7 +289,7 @@ def initialize(view)
end
def section_title(title)
@buffer << %(<tr><th colspan="4">#{title}</th></tr>)
@buffer << %(<tr><th colspan="5">#{title}</th></tr>)
end
def section(routes)