5 lines
170 B
Plaintext
5 lines
170 B
Plaintext
var box = $('td[id=notes-<%= @meal.id %>]');
|
|
box.contents().hide();
|
|
box.append('<%= j render partial: 'meals/edit_notes_form' %>');
|
|
box.find('input[type=text]').focus();
|