From 9569bda67c21b4a1dbcdb5b445de4186d4ab3096 Mon Sep 17 00:00:00 2001
From: sw <939547590@qq.com>
Date: Tue, 29 Sep 2015 16:51:22 +0800
Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9B=BE=E7=89=87=E5=8A=9F?=
=?UTF-8?q?=E8=83=BD=E4=B8=8D=E5=8F=AF=20=E7=94=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/views/avatar/_new_avatar_form.html.erb | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/app/views/avatar/_new_avatar_form.html.erb b/app/views/avatar/_new_avatar_form.html.erb
index de3bf2b65..2593bf1f5 100644
--- a/app/views/avatar/_new_avatar_form.html.erb
+++ b/app/views/avatar/_new_avatar_form.html.erb
@@ -1,10 +1,11 @@
<%= image_tag(url_to_avatar(source), id: "avatar_image", :width =>"60", :height =>"60",:alt=>"上传图片")%>
-<%= l(:button_upload_photo) %>
+<%#= link_to l(:button_delete_file),{:controller => :avatar,:action => :delete_image,:remote=>true,:source_type=> source.class,:source_id=>source.id},:confirm => l(:text_are_you_sure), :method => :post, :class => "upbtn fl" %>
+<%= l(:button_upload_photo) %>
<%= file_field_tag 'avatar[image]',
- :id => "upload_img",
- :class => 'undis',
+ :id => 'upload_course_logo',
+ :class => 'undis upload_file',
:size => "1",
:multiple => true,
:data => {