<div class="toolbar hh1">
  <div class="fn_g hp">
  <%= link_to "New Co-Author", new_panel_personal_journal_desktop_journal_co_author_path, :class=>"bt-co-author fn_btn hp hh1 thmc2 thmtxt", "ajax-remote"=>"get" %>
  <%= link_to "New Type",  panel_personal_journal_desktop_journal_co_author_relations_path, :class=>"bt-new-type fn_btn hp hh1 thmc2 thmtxt", "ajax-remote"=>"get" %>
  </div>
</div>
<!-- <div id="co_author" class="tinycanvas vp">
  <div class="scrollbar sb_h vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>

  <div class="viewport"> -->
    <div class="overview" page-name="journal_p_coauthor" content-layout="datalist" per-column="4" base-width="300" pagination-var="page">
      <ul>
      <% @journal_co_authors.each_with_index do |co_author,i| %>
            <li class="list_t_item" item="true">
              <ul class="info">
                <li><div class="list_t_title name"><%= co_author.co_author %></div></li>
                <li><div class="email"><i class="icon-envelope"></i> <%= co_author.email %></div></li>
                <li><div class="relations"><i class="icon-user"></i> <%= @journal_co_author_relations.find(co_author.journal_co_author_relations_id).relation unless co_author.journal_co_author_relations_id.nil?%></div></li>
              </ul>
              <div class="list_item_function">
                <%= link_to t('edit'), edit_panel_personal_journal_desktop_journal_co_author_path(co_author), :class => "bt-edit admbg2 admtxt", "ajax-remote"=>"get" %>
                <%= link_to t(:delete_), panel_personal_journal_desktop_journal_co_author_path(co_author), "ajax-remote"=>"delete", "confirm-message"=>t('sure?'), "callback-method"=>"paperDelete", :class=>"bt-delete admbg2 admtxt"  %>
              </div>
            </li>
      <% end %>
      </ul>
    </div>
 <!--  </div>
</div>
 -->
