view update
This commit is contained in:
		
							parent
							
								
									b1fd82197e
								
							
						
					
					
						commit
						68489084b0
					
				|  | @ -4,23 +4,30 @@ | ||||||
|   <%= link_to "New Type",  desktop_co_author_relations_path, :class=>"bt-new-type fn_btn hp hh2 thmc2 thmtxt" %> |   <%= link_to "New Type",  desktop_co_author_relations_path, :class=>"bt-new-type fn_btn hp hh2 thmc2 thmtxt" %> | ||||||
|   </div> |   </div> | ||||||
| </div> | </div> | ||||||
| <% @co_authors.each_with_index do |co_author,i| %> | <div id="co_author" class="tinycanvas vp"> | ||||||
|   <% if ( i % 5 ) == 0 %> |   <div class="scrollbar sb_h vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div> | ||||||
|     <div class="g_col"> |   <div class="viewport"> | ||||||
|     <ul> |     <div class="overview"> | ||||||
|  |       <% @co_authors.each_with_index do |co_author,i| %> | ||||||
|  |         <% if ( i % 5 ) == 0 %> | ||||||
|  |           <div class="g_col"> | ||||||
|  |           <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> | ||||||
|  |               <%= co_author.co_author %> | ||||||
|  |               <%= co_author.email %> | ||||||
|  |               <%= @co_author_relations.find(co_author.co_author_relations_id).relation \ | ||||||
|  |                         unless co_author.co_author_relations_id.nil?%> | ||||||
|  |             </li> | ||||||
|  |             <% if ( i % 5 ) == 4 %> | ||||||
|  |           </ul> | ||||||
|  |           </div> | ||||||
|  |         <% end %> | ||||||
|       <% end %> |       <% 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> |  | ||||||
|         <%= co_author.co_author %> |  | ||||||
|         <%= co_author.email %> |  | ||||||
|         <%= @co_author_relations.find(co_author.co_author_relations_id).relation \ |  | ||||||
|                   unless co_author.co_author_relations_id.nil?%> |  | ||||||
|       </li> |  | ||||||
|       <% if ( i % 5 ) == 4 %> |  | ||||||
|     </ul> |  | ||||||
|     </div> |     </div> | ||||||
|   <% end %> |   </div> | ||||||
| <% end %> | </div> | ||||||
		Loading…
	
		Reference in New Issue