<div class="toolbar hh1">
  <div class="fn_g hp">
    <%= f.submit t("save"), name: "commit", class: "fn_btn ini_input hp hh1 thmc2 thmtxt" %>
    <%= submit_tag t("back"), :type => "button", "ajax-remote" => "get", :href => panel_personal_journal_desktop_journal_co_authors_path, class: "fn_btn ini_input hp hh1 admbg2 admtxt" %>
  </div>
</div>
<div id="new_co_author" class="s_grid_con s_form vp">
  <ul>
  <li class="s_grid_row">
    <%= f.label :co_author, class: "s_grid s_grid_4" %>
    <%= f.text_field :co_author, class: "s_grid_8 s_grid"%>
    <!--
    <%#= f.fields_for :co_author_translations do |f| %>
      <%#= f.text_field locale,
          class: "s_grid_4 s_grid",
          value: (@journal_co_author.co_author_translations[locale] rescue nil) %>
      <%# end %>
  -->
  </li>
  <li class="s_grid_row">
    <%= f.label :email, class: "s_grid s_grid_4"%>
    <%= f.text_field :email, class: "s_grid s_grid_8" %>
  </li>
  <li class="s_grid_row">
    <%= f.label :type, class: "s_grid s_grid_4"%>
    <select name="journal_co_author[co_author_relations_id]" id="" class="s_grid s_grid_8">
      <%= options_for_select(
        @journal_co_author_relations.map do |relation|
          [relation.relation, relation.id]
        end
      )%>
    </select>
  </li>
</ul>
</div>
