|
|
|
@ -3,7 +3,6 @@
|
|
|
|
|
</a>
|
|
|
|
|
<%#= 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" %>
|
|
|
|
|
<a href="javascript:void(0)" class="upbtn fl"><%= l(:button_upload_photo) %></a>
|
|
|
|
|
<span class="c_orange ml25 mt43 f12 fl ">(个人头像建议90*90大小,课程和项目logo建议60*60大小,或者等比图像)</span>
|
|
|
|
|
<%= file_field_tag 'avatar[image]',
|
|
|
|
|
:id => nil,
|
|
|
|
|
:class => 'upload_file ',
|
|
|
|
@ -22,6 +21,7 @@
|
|
|
|
|
:source_id => source.id.to_s
|
|
|
|
|
} %>
|
|
|
|
|
<!--</span>-->
|
|
|
|
|
<span class="c_orange ml25 mt43 f12 fl ">(课程和项目logo建议60*60大小,或者等比图像)</span>
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
|
<%= javascript_include_tag 'avatars' %>
|
|
|
|
|
<% end %>
|
|
|
|
|