2013-02-25 11:12:28 +01:00
|
|
|
-# please polish the following line if you know how, same in view destroy
|
2013-03-06 01:24:57 +01:00
|
|
|
var errorDiv = $('<div class="alert fade in alert-error"><a class="close" data-dismiss="alert" href="#">#{t('ui.marks.close')}</a></div>');
|
2013-02-25 10:02:21 +01:00
|
|
|
|
2013-02-25 11:12:28 +01:00
|
|
|
errorDiv.append(document.createTextNode('#{j(fail_msg)}'));
|
2013-02-25 10:02:21 +01:00
|
|
|
$('div.container-fluid').prepend(errorDiv);
|