1
0
This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
cryptogopher e301665b6a Add Targets #show
Change css classes from subject-oriented to property-oriented
2021-05-05 12:42:30 +02:00

10 lines
339 B
Plaintext

$('tr[id=date-<%= @effective_from %>]').nextUntil('tr.date').remove('tr:not(.details)')
.hide().addBack().first().after(
'<tr>' +
'<td class="topleft symmetric"' +
'colspan="'+$('table#targets tr:first-child td').length+'">' +
'<%= j render partial: 'targets/edit_form' %>' +
'</td>' +
'</tr>'
);