From a958a879ad357cd7297476a10d9676f8c4c26f9c Mon Sep 17 00:00:00 2001 From: lizanle <491823689@qq.com> Date: Mon, 21 Sep 2015 10:04:41 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=B4=E5=90=A7=E5=88=9B=E5=BB=BA=E4=B8=8D?= =?UTF-8?q?=E6=88=90=E5=8A=9F=E7=9A=84=E6=97=B6=E5=80=99=E5=BA=94=E8=AF=A5?= =?UTF-8?q?=E7=BB=99=E4=B8=AA=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/forums/create.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/forums/create.js.erb b/app/views/forums/create.js.erb index 0b6033441..be99d724a 100644 --- a/app/views/forums/create.js.erb +++ b/app/views/forums/create.js.erb @@ -2,4 +2,5 @@ $('#new_forum_div').slideToggle();$('#create_btn').parent().slideToggle(); $('#reorder_time').click(); <%else%> + $("#error").html("<%= @forum.errors.full_messages[0]%>").show(); <%end %> \ No newline at end of file