还原教学案例

dev_aliyun
caishi 5 years ago
parent 11b33541f6
commit a8ef5257c9

@ -6,7 +6,7 @@
<%= hidden_field_tag :tag_ids, tag_ids.join(',') %> <%= hidden_field_tag :tag_ids, tag_ids.join(',') %>
<div class="edu-back-white"> <div class="edu-back-white">
<div class="padding30"> <div class="padding30">
<div class="clearfix mb20"> <div class="clearfix">
<span class="upload_Title">标题</span> <span class="upload_Title">标题</span>
<li class="fl"> <li class="fl">
<%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-300-35 mr20 fl' %> <%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-300-35 mr20 fl' %>
@ -14,21 +14,8 @@
</li> </li>
<span class="color-grey-c font-12 fl mt6">简明扼要介绍文档/视频所包含的主要的内容</span> <span class="color-grey-c font-12 fl mt6">简明扼要介绍文档/视频所包含的主要的内容</span>
</div> </div>
<div class="clearfix mb20">
<span class="upload_Title">作者</span>
<li class="fl">
<%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-300-35 mr20 fl' %>
<p style="height:20px;line-height:20px;"><span class="color-red none" id="title_notice">请输入标题</span></p>
</li>
</div>
<div class="clearfix mb20">
<span class="upload_Title">标签</span>
<ul class="fl libraries_tab">
<% LibraryTag.where(nil).each do |tag| %>
<li class="<%= tag_ids.include?(tag.id) ? 'active' : '' %>" data-id="<%= tag.id %>"><%= tag.name %></li>
<% end %>
</ul>
</div> </div>
<div class="padding30 bor-top-greyE">
<div class="clearfix"> <div class="clearfix">
<span class="upload_Title">描述</span> <span class="upload_Title">描述</span>
<div class="fl" style="width: 1078px"> <div class="fl" style="width: 1078px">
@ -38,7 +25,14 @@
<p style="height:22px;line-height:22px;"><span class="color-red none" id="des_notice">请输入描述内容</span></p> <p style="height:22px;line-height:22px;"><span class="color-red none" id="des_notice">请输入描述内容</span></p>
</div> </div>
</div> </div>
<div class="clearfix mb20">
<span class="upload_Title">标签</span>
<ul class="fl libraries_tab">
<% LibraryTag.where(nil).each do |tag| %>
<li class="<%= tag_ids.include?(tag.id) ? 'active' : '' %>" data-id="<%= tag.id %>"><%= tag.name %></li>
<% end %>
</ul>
</div>
<div style="padding-left: 62px"> <div style="padding-left: 62px">
<%= render partial: 'attachments/from_libraries', locals: { container: @library } %> <%= render partial: 'attachments/from_libraries', locals: { container: @library } %>
<p style="height:22px;line-height:22px;"><span class="color-red none" id="file_notice">请上传附件</span></p> <p style="height:22px;line-height:22px;"><span class="color-red none" id="file_notice">请上传附件</span></p>

Loading…
Cancel
Save