10 lines
349 B
Plaintext
10 lines
349 B
Plaintext
$('tr[id=measurement-<%= @measurement.id %>]').nextUntil('tr.measurement')
|
|
.remove('tr:not(.details)').hide().addBack().first().after(
|
|
'<tr>' +
|
|
'<td class="topleft symmetric"' +
|
|
'colspan="'+$('table#readouts tr:first-child td').length+'">' +
|
|
'<%= j render partial: 'readouts/edit_form' %>' +
|
|
'</td>' +
|
|
'</tr>'
|
|
);
|