详情显示

This commit is contained in:
caishi 2018-02-09 11:09:16 +08:00
parent 3c1bc10274
commit 92325f1107
1 changed files with 4 additions and 3 deletions

View File

@ -2,13 +2,14 @@
<%= 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">
<div class="detail_part">
<div class="detail_part mt15">
<label>数据类别名称:</label>
<%= @statistic.name %>
<%= link_to '编辑', edit_statistic_path(@statistic) ,:class => "submit_btn fr mr45" %>
</div>
<div class="cl detail_part">
<label>描述:</label>
<label class="mt20">描述:</label>
<div id="statistic_description" style="width: 80%;">
<textarea class="detail_des fl" style="display: none;width: 85%"><%= @statistic.description %></textarea>
</div>
@ -28,7 +29,7 @@
<% end %>
<div class="detail_part">
<label>&nbsp;</label>
<%= link_to '编辑', edit_statistic_path(@statistic) ,:class => "submit_btn" %>
<%= link_to '返回', statistics_path ,:class=>"grey_btn" %>
</div>
</div>