-# please polish the following line if you know how, same in view destroy var errorDiv = $('
#{t('ui.marks.close').html_safe}
'); errorDiv.append(document.createTextNode('#{j(fail_msg)}')); $('div.container-fluid').prepend(errorDiv);