修改组织bug

This commit is contained in:
ouyangxuhua 2015-11-13 20:14:02 +08:00
parent f4028f6c0d
commit 4471b6c485
3 changed files with 8 additions and 8 deletions

View File

@ -20,8 +20,8 @@
init_activity_KindEditor_data(<%= document.id%>, null, "87%");
});
</script>
<div id="organization_document_<%= document.id %>">
<p id="organization_document_<%= document.id %>">
<%= render :partial => 'organizations/show_org_document', :locals => {:document => document} %>
</div>
</p>
<% end %>
<% end %>

View File

@ -1,11 +1,11 @@
<%= stylesheet_link_tag 'courses' %>
<div class="resources">
<div class="resources mt10">
<div class="project_r_h" style="width: 720px;">
<h2 class="project_h2"> 组织成员</h2>
</div>
<div class="st_list" style="width: 720px;">
<div class="st_box">
<span class="fr fb fontGrey3">加入时间</span>
<!--<span class="fr fb fontGrey3">加入时间</span>-->
<div class="cl"></div><!--st_box_top end-->
<% members.each do |member| %>

View File

@ -30,9 +30,9 @@
init_activity_KindEditor_data(<%= @organization.home_id%>, null, "87%");
});
</script>
<div id="organization_document_<%= @organization.home_id %>">
<p id="organization_document_<%= @organization.home_id %>">
<%= render :partial => 'show_org_document', :locals => {:document => OrgDocumentComment.find(@organization.home_id), :home_id => @organization.home_id} %>
</div>
</p>
<% end %>
<% unless @activities.nil? %>
@ -58,9 +58,9 @@
init_activity_KindEditor_data(<%= act.org_act.id%>, null, "87%");
});
</script>
<div id="organization_document_<%= act.org_act.id %>">
<p id="organization_document_<%= act.org_act.id %>" style="mt10">
<%= render :partial => 'show_org_document', :locals => {:document => act.org_act} %>
</div>
</p>
<% end %>
<% end %>
<ul class="wlist" style=" border:none; padding-top: 15px;">