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:
commit
cff6b2cd8d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user