diff --git a/app/views/libraries/_form.html.erb b/app/views/libraries/_form.html.erb index bdbc0118..e1e6aa0b 100644 --- a/app/views/libraries/_form.html.erb +++ b/app/views/libraries/_form.html.erb @@ -6,7 +6,7 @@ <%= hidden_field_tag :tag_ids, tag_ids.join(',') %>
-
+
标题
  • <%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-300-35 mr20 fl' %> @@ -14,21 +14,8 @@
  • 简明扼要介绍文档/视频所包含的主要的内容
    -
    - 作者 -
  • - <%= f.text_field :title, placeholder: '例如:软件工程教学案例', class: 'greyInput winput-300-35 mr20 fl' %> -

    请输入标题

    -
  • -
    -
    - 标签 -
      - <% LibraryTag.where(nil).each do |tag| %> -
    • <%= tag.name %>
    • - <% end %> -
    -
    +
    +
    描述
    @@ -38,7 +25,14 @@

    请输入描述内容

    - +
    + 标签 +
      + <% LibraryTag.where(nil).each do |tag| %> +
    • <%= tag.name %>
    • + <% end %> +
    +
    <%= render partial: 'attachments/from_libraries', locals: { container: @library } %>

    请上传附件