2014-07-03 07:48:28 +00:00
|
|
|
<table class="table main-list">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="span1"><%= t("personal_book.year") %></th>
|
|
|
|
<th class="span7"><%= t("personal_book.book_title") %></th>
|
|
|
|
<th class="span1"><%= t("personal_plugins.author") %></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="tbody_writing_books" class="sort-holder">
|
2014-07-18 06:29:33 +00:00
|
|
|
<%= render 'writing_book' %>
|
2014-07-03 07:48:28 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div class="bottomnav clearfix">
|
|
|
|
<div class="action pull-right">
|
2014-07-31 13:51:25 +00:00
|
|
|
<% if current_user.is_admin? %>
|
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icon-cog icon-white') + t('setting'), admin_book_setting_path, :class => 'btn btn-primary pull-right' %>
|
|
|
|
<% end %>
|
2014-07-03 07:48:28 +00:00
|
|
|
</div>
|
2014-07-18 06:29:33 +00:00
|
|
|
<div class="pagination pagination-centered">
|
|
|
|
<%= content_tag :div, paginate(@writing_books), class: "pagination pagination-centered" %>
|
|
|
|
</div>
|
2014-07-03 07:48:28 +00:00
|
|
|
</div>
|