解决项目图片不能上传

This commit is contained in:
huang 2015-04-16 15:48:13 +08:00
parent 9fa7b04ce5
commit bfc83d1a8c
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
<%= labelled_form_for @project do |f| %>
<ul class="newpro_box ">
<li class="ml110 mb10">
<li class="ml45 mb10">
<%= render :partial=>"avatar/new_avatar_form",:locals=> {source:@project} %>
<div class="cl"></div>
</li>

View File

@ -378,6 +378,8 @@ blockquote {
.pro_st_dis{display:block; }
.pro_st_undis{display:none;}
.upbtn { margin: 40px 0px 0px 15px;display: block;padding: 2px 5px;border: 1px solid #EAEAEA;}
.upimg{ border:1px solid #eaeaea; display:block; width:60px; height:60px; padding:1px;}
.upimg:hover{ border:1px solid #64bdd9; }
.box{ margin-bottom:10px;}