From aa3ab86fb094d1ca0915b56bf1177e982aa26392 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Wed, 11 Mar 2015 09:48:35 +0800 Subject: [PATCH] =?UTF-8?q?#2013=20=E4=B8=AA=E4=BA=BA=E4=B8=BB=E9=A1=B5--?= =?UTF-8?q?=E7=95=99=E8=A8=80--=E7=95=99=E8=A8=80=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E4=B8=8D=E8=A7=81=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/words/_new.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/words/_new.html.erb b/app/views/words/_new.html.erb index 4a76856f2..561c6a953 100644 --- a/app/views/words/_new.html.erb +++ b/app/views/words/_new.html.erb @@ -47,15 +47,15 @@ <% if User.current.logged? %> - <% if @user.safe_attribute? 'user_message' %> + <%# if @user.safe_attribute? 'user_message' %> <%= f.text_area 'user_message', :rows => 3, :cols => 65, :placeholder => "#{l(:label_leave_a_message)}", :style => "resize: none; width: 98%", :class => 'noline'%> - <% end %> + <%# end %> <%= f.text_field :reference_user_id, :style=>"display:none"%> <%= submit_tag l(:button_leave_meassge), :name => nil , :class => "enterprise" , :style => "display: block; float: right; margin-right: 1%; margin-top: 1px;"%> - <% else %> + <%else %>
<%= l(:label_user_login_tips) %> <%= link_to l(:label_user_login_new), signin_path %>