Sha256: 61cff0f4b289981f3db865f568e8305aa712b9c802f35c12efd52986bb140648

Contents?: true

Size: 1.01 KB

Versions: 1

Compression:

Stored size: 1.01 KB

Contents

<div class="sixteen wide column">

  <ol class="ui breadcrumb">
    <%= link_to @knowledge.parent.name, knowledge_path(@knowledge.parent), class: 'section' %>
    <li class="divider"> / </li>
    <li class="section active">历史列表</li>
  </ol>

  <table class="ui table">
    <thead>
    <tr>
      <th>ID</th>
      <th>内容</th>
      <th>提交信息</th>
      <th>提交人</th>
      <th>提交时间</th>
      <th>状态</th>
      <th colspan="2">操作</th>
    </tr>
    </thead>
    <tbody>
    <% @wikis.each do |wiki| %>
      <tr>
        <td><%= wiki.id %></td>
        <td><%= ex_simple_format wiki.body %></td>
        <td><%= wiki.commit_message %></td>
        <td><%= wiki.commit.name %></td>
        <td><%= wiki.updated_at.localtime.to_s(:db) %></td>
        <th><%= wiki.status %></th>
        <td>
          <%= link_to '通过', pass_knowledge_minor_path(@knowledge, wiki), method: :patch, data: { confirm: '审核通过' } %>
        </td>
      </tr>
    <% end %>
    </tbody>
  </table>

</div>


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_detail-0.0.1 app/views/rails_detail_my/minors/index.html.erb