view update

This commit is contained in:
devin 2012-12-06 02:38:57 +08:00 committed by chris
parent c03b70d47e
commit 22c0eabca5
2 changed files with 5 additions and 5 deletions

View File

@ -778,7 +778,7 @@ a:focus { outline: none; }
#co_author .list_t_item { #co_author .list_t_item {
height: 86px; height: 86px;
} }
#co_author .list_item_action a { #co_author .list_item_function a {
display: inline-block; display: inline-block;
} }

View File

@ -14,15 +14,15 @@
<ul> <ul>
<% end %> <% end %>
<li class="list_t_item"> <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"> <ul class="info">
<li><%= co_author.co_author %></li> <li><%= co_author.co_author %></li>
<li><i class="icon-envelope"></i> <%= co_author.email %></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> <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> </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> </li>
<% if ( i % 5 ) == 4 %> <% if ( i % 5 ) == 4 %>
</ul> </ul>