From f0b43a603e4d3176e088eaf585a202b15e12f633 Mon Sep 17 00:00:00 2001 From: huang Date: Thu, 27 Oct 2016 15:04:20 +0800 Subject: [PATCH] =?UTF-8?q?issue=E8=AF=A6=E6=83=85=E4=B8=AD=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/_issue_reply_ke_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/issues/_issue_reply_ke_form.html.erb b/app/views/issues/_issue_reply_ke_form.html.erb index fdf57fd3a..bcbdcea4d 100644 --- a/app/views/issues/_issue_reply_ke_form.html.erb +++ b/app/views/issues/_issue_reply_ke_form.html.erb @@ -4,7 +4,7 @@ <%= link_to image_tag(url_to_avatar(User.current), :width => "33", :height => "33"), user_path(@issue.author_id), :alt => "用户头像" %> -
+
<% if User.current.logged? %>
<%= form_for('new_form',:url => add_reply_issue_path(@issue.id),:method => "post", :remote => true) do |f|%>