forked from Gitlink/forgeplus
更改: oauth2授权页面增加错误提示
This commit is contained in:
parent
27fae8d27b
commit
902c66d490
|
@ -0,0 +1,7 @@
|
|||
<%if @error.present?%>
|
||||
var alertDiv = $('<div class="alert alert-danger"><%= @error[:msg]%></div>')
|
||||
$("#container").prepend(alertDiv)
|
||||
setTimeout(function() {
|
||||
$('.alert').remove();
|
||||
}, 3000);
|
||||
<%end%>
|
Loading…
Reference in New Issue