17 lines
793 B
Plaintext
17 lines
793 B
Plaintext
|
<tr id="<%= dom_id writing_book %>" class="with_action">
|
||
|
<td class="span1"><%= writing_book.year %></td>
|
||
|
<td class="span1">
|
||
|
<%= link_to writing_book.create_link, panel_personal_book_front_end_writing_book_path(writing_book) %>
|
||
|
<div class="quick-edit">
|
||
|
<ul class="nav nav-pills hide">
|
||
|
<%if at_least_module_manager || writing_book.writing_book_category.cur_user_is_sub_manager_of(:edit)%>
|
||
|
<li><%= link_to t('edit'), edit_panel_personal_book_back_end_writing_book_path(writing_book) %></li>
|
||
|
<li><%= link_to t(:delete_), panel_personal_book_back_end_writing_book_path(writing_book), :confirm => t('sure?'), :method => :delete, :remote => true %></li>
|
||
|
<% end -%>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td class="span1"><%= User.from_id(writing_book.create_user_id).name rescue ''%></td>
|
||
|
</tr>
|
||
|
|