  <% @co_author_relations.each_with_index do |co_author_relation,i| %>
  <% if ( i % 6 ) == 0 %>
  <div class="s_grid_con s_form">
          <ul>
            <% end %>
            <li class="s_grid_row">
    			<div class="form_space"><%= co_author_relation.relation %></div>
			    <div class="list_item_function">
			    	<%= link_to 'Edit', edit_desktop_co_author_relation_path(co_author_relation), :class => "bt-edit-type admbg2 admtxt" %>
			    	<%= link_to 'Destroy', desktop_co_author_relation_path(co_author_relation), confirm: 'Are you sure?', method: :delete, :class=>"bt-delete admbg2 admtxt" %>
			    </div>
			    </li>
            <% if ( i % 6 ) == 5 %>
          </ul>
          </div>
        <% end %>
  <% end %>