From a8ef5257c9ce5b87786a0d7a4912567abe18cd48 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 12 Jul 2019 17:52:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=8E=9F=E6=95=99=E5=AD=A6=E6=A1=88?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/libraries/_form.html.erb | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) 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 } %>

    请上传附件