var $row = $('td.localization_row[data-id="<%= @localization.id %>"]'); $row.data('editing', 0); $row.html("<%= ejs render(:partial=>"/lit/localization_keys/localization_row", formats: ['html'], :locals=>{:localization=>@localization.translated_value }) %>"); $row.siblings().find('.show_prev_versions').removeClass('hidden');