修正了上传头像布局
This commit is contained in:
parent
3d13304f26
commit
4663751e7e
|
@ -35,7 +35,7 @@
|
|||
filter: alpha(opacity:0);
|
||||
}
|
||||
</style>
|
||||
<div>
|
||||
<div style="padding-left:60px;">
|
||||
<span id="attachments_fields">
|
||||
<%= image_tag(url_to_avatar(source), id: "avatar_image", size: AvatarHelper::AVATAR_SIZE,:class=>"avatar")%>
|
||||
<div id="avatar_file" style="width: 100px">
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<%= error_messages_for 'project' %>
|
||||
<!--[form:project]-->
|
||||
<p><%= render :partial=>"avatar/avatar_form",:locals=> {source:@project} %></p>
|
||||
<p><%= f.text_field :name, :required => true, :size => 60, :style => "width:490px;" %></p>
|
||||
|
||||
<p style="margin-left:-10px;padding-right: 20px;"><%= f.text_area :description, :rows => 8, :class => 'wiki-edit', :style => "font-size:small;width:490px;margin-left:10px;" %></p><!--by young-->
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<%= labelled_form_for @project do |f| %>
|
||||
<!--Added by young-->
|
||||
<div class="box tabular">
|
||||
<p><%= render :partial=>"avatar/avatar_form",:locals=> {source:@project} %></p>
|
||||
<%= render :partial => 'form', :locals => { :f => f } %>
|
||||
<%= submit_tag l(:button_create) %>
|
||||
<%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
|
||||
|
|
Loading…
Reference in New Issue