课程大纲的内容图片自适应大小
This commit is contained in:
parent
2974833533
commit
ad0acb5188
|
@ -4,6 +4,7 @@
|
|||
<script type="text/javascript">
|
||||
$(function() {
|
||||
sd_create_editor_from_data(<%= @syllabus.id %>, null, "100%", "<%= @syllabus.class.to_s %>");
|
||||
showNormalImage('syllabus_description_<%= @syllabus.id %>');
|
||||
});
|
||||
</script>
|
||||
<ul id="sy_tab_nav">
|
||||
|
@ -23,7 +24,7 @@
|
|||
<p class="sy_tab_con_p">该课程尚未填写课程大纲,敬请期待!</p>
|
||||
<% else %>
|
||||
<div class="sy_tab_con">
|
||||
<div class="syllabuscon">
|
||||
<div class="syllabuscon upload_img" id="syllabus_description_<%= @syllabus.id %>">
|
||||
<%=@syllabus.description.html_safe %>
|
||||
<div class="mt10" style="font-weight:normal;">
|
||||
<%= render :partial=>"attachments/activity_attach", :locals=>{:activity => @syllabus} %>
|
||||
|
|
Loading…
Reference in New Issue