Sha256: 8a7819c8dd8f2382d11a4ca0e33dae4d191478e9a9c6ad1523c6284e19102ead

Contents?: true

Size: 915 Bytes

Versions: 4

Compression:

Stored size: 915 Bytes

Contents

<h1>【分区】 <%= @board.name %></h1>

<div>
  <b>名称:</b><%= @board.name %><br/>
  <b>简称:</b><%= @board.short_name %><br/>
  <b>命名空间:</b><%= @board.space %><br/>
  <b>永久链接</b><%= @board.permalink %><br/>
  <% if @board.parent %>
    <b>上一级</b><%= link_to "#{@board.parent.name}", loyal_admin_app.display_board_url(:id => @board.parent_id) %><br/>
  <% end %>
  <b>简介</b><%= @board.instroduction %><br/>
  <b>描述</b>
    <br/><%= raw @board.description %><br/>
</div>

<%= link_to "新建", loyal_admin_app.new_display_board_url %>
<%= link_to "编辑", loyal_admin_app.edit_display_board_url(:id => @board.id) %>
<%= link_to "返回列表", loyal_admin_app.display_boards_url %>


<h3>项目列表</h3>
<% @board.items.each do |item| %>
  <% case item.target
    when ::Ruby800::Category %>
    分类:<%= link_to "#{item.target.short_name}" %><br/>
  <% end %>

<% end %>


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
loyal_admin-0.0.4 app/views/loyal_admin/display/boards/show.html.erb
loyal_admin-0.0.3 app/views/loyal_admin/display/boards/show.html.erb
loyal_admin-0.0.2 app/views/loyal_admin/display/boards/show.html.erb
loyal_admin-0.0.1 app/views/loyal_admin/display/boards/show.html.erb