mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
7 lines
199 B
Plaintext
7 lines
199 B
Plaintext
<%if @error.present?%>
|
|
var alertDiv = $('<div class="alert alert-danger"><%= @error[:msg]%></div>')
|
|
$("#container").prepend(alertDiv)
|
|
setTimeout(function() {
|
|
$('.alert').remove();
|
|
}, 3000);
|
|
<%end%> |