|
|
@ -46,7 +46,8 @@
|
|
|
|
<%= 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 => "btn_addPic", :style => "text-decoration:none;" %>
|
|
|
|
<%= 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 => "btn_addPic", :style => "text-decoration:none;" %>
|
|
|
|
<a href="javascript:void(0);" class="btn_addPic" style="text-decoration:none;">
|
|
|
|
<a href="javascript:void(0);" class="btn_addPic" style="text-decoration:none;">
|
|
|
|
<span><%= l(:button_upload_photo) %></span>
|
|
|
|
<span><%= l(:button_upload_photo) %></span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<span class="c_orange ml25 f12">(个人头像建议90*90大小,课程和项目logo建议60*60大小,或者等比图像)</span>
|
|
|
|
<!-- :accept => 'image/png,image/gif,image/jpeg', -->
|
|
|
|
<!-- :accept => 'image/png,image/gif,image/jpeg', -->
|
|
|
|
<span class="add_avatar" style="margin-left: -55px;width: 70px">
|
|
|
|
<span class="add_avatar" style="margin-left: -55px;width: 70px">
|
|
|
|
<%= file_field_tag 'avatar[image]',
|
|
|
|
<%= file_field_tag 'avatar[image]',
|
|
|
|