view update
This commit is contained in:
parent
9db3b382b8
commit
b786e4b347
|
@ -778,7 +778,7 @@ a:focus { outline: none; }
|
|||
#co_author .list_t_item {
|
||||
height: 86px;
|
||||
}
|
||||
#co_author .list_item_action a {
|
||||
#co_author .list_item_function a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
|
|
@ -14,15 +14,15 @@
|
|||
<ul>
|
||||
<% end %>
|
||||
<li class="list_t_item">
|
||||
<div class="list_item_action">
|
||||
<%= link_to 'Edit', edit_desktop_co_author_path(co_author), :class => "bt-edit" %>
|
||||
<%= link_to 'Destroy', desktop_co_author_path(co_author), method: :delete, confirm: 'Are you sure?', :class=>"bt-delete" %>
|
||||
</div>
|
||||
<ul class="info">
|
||||
<li><%= co_author.co_author %></li>
|
||||
<li><i class="icon-envelope"></i> <%= co_author.email %></li>
|
||||
<li><i class="icon-user"></i> <%= @co_author_relations.find(co_author.co_author_relations_id).relation unless co_author.co_author_relations_id.nil?%></li>
|
||||
</ul>
|
||||
<div class="list_item_function">
|
||||
<%= link_to 'Edit', edit_desktop_co_author_path(co_author), :class => "bt-edit" %>
|
||||
<%= link_to 'Destroy', desktop_co_author_path(co_author), method: :delete, confirm: 'Are you sure?', :class=>"bt-delete" %>
|
||||
</div>
|
||||
</li>
|
||||
<% if ( i % 5 ) == 4 %>
|
||||
</ul>
|
||||
|
|
Reference in New Issue