Sha256: 3941375cccf3883b9ce62d93ecd860b4a689d205ac371504b24f68b979ff193c
Contents?: true
Size: 453 Bytes
Versions: 12
Compression:
Stored size: 453 Bytes
Contents
<% wrap_id = dom_id(commentable, 'list_admin_comments') html = render('list_block') %> $base = $('#<%= dom_id(commentable, 'list') %>'); $cont = $('#<%= wrap_id %>') if ($cont[0]) { $cont.html("<%= j html %>"); } else { $base.after("<%= j %[<tr id="#{wrap_id}" class="list_admin_comments">#{html}</tr>].html_safe %>"); } var colspan = $base.closest('table').find('tr:first > th').length; $('#<%= wrap_id %> td:first').attr('colspan', colspan);
Version data entries
12 entries across 12 versions & 1 rubygems