附件样式

This commit is contained in:
caishi 2018-02-09 10:20:37 +08:00
parent 04a0ef03ac
commit a54226a5e7
2 changed files with 7 additions and 3 deletions

View File

@ -38,7 +38,9 @@
</div>
<div class="field cl">
<label>&nbsp;</label>
<%= render :partial => 'attachments/form_statistic', :locals => {:container => @statistic, :isReply => @isReply} %>
<div class="fl">
<%= render :partial => 'attachments/form_statistic', :locals => {:container => @statistic, :isReply => @isReply} %>
</div>
</div>
<div class="actions cl mb20">
<a href="javascript:void(0)" class="blue_btn_big c_white fr mr45" onclick="submit_cate();">保存</a>

View File

@ -2,7 +2,7 @@
<%= javascript_include_tag '/editormd/lib/marked.min.js','/editormd/lib/prettify.min.js','/editormd/lib/raphael.min.js','/editormd/lib/underscore.min.js','/editormd/lib/sequence-diagram.min.js',
'/editormd/lib/flowchart.min.js','/editormd/lib/jquery.flowchart.min.js','/editormd/editormd.js' %>
<div class="data_showdetail">
<p id="notice"><%= notice %></p>
<!--<p id="notice"><%#= notice %></p>-->
<div class="detail_part">
<label>数据类别名称:</label>
@ -28,9 +28,11 @@
<%# 附件局部刷新 %>
<% if @attachments.present? %>
<div class="detail_part">
<div class="detail_part cl">
<label>附件:</label>
<div class="fl">
<%= render :partial => 'attachments',:locals => {:attachments => @attachments} %>
</div>
</div>
<% end %>
<div class="detail_part">