贴吧创建不成功的时候应该给个错误提示
This commit is contained in:
parent
52b4cba582
commit
a958a879ad
|
@ -2,4 +2,5 @@
|
||||||
$('#new_forum_div').slideToggle();$('#create_btn').parent().slideToggle();
|
$('#new_forum_div').slideToggle();$('#create_btn').parent().slideToggle();
|
||||||
$('#reorder_time').click();
|
$('#reorder_time').click();
|
||||||
<%else%>
|
<%else%>
|
||||||
|
$("#error").html("<%= @forum.errors.full_messages[0]%>").show();
|
||||||
<%end %>
|
<%end %>
|
Loading…
Reference in New Issue