贴吧创建不成功的时候应该给个错误提示

This commit is contained in:
lizanle 2015-09-21 10:04:41 +08:00
parent 52b4cba582
commit a958a879ad
1 changed files with 1 additions and 0 deletions

View File

@ -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 %>