2012-12-06 03:43:40 +00:00
|
|
|
<div class="toolbar hh2">
|
|
|
|
<div class="fn_g hp">
|
|
|
|
<%= f.submit "Save", name: "commit", value: "Save", class: "fn_btn ini_input hp hh2 thmc2 thmtxt" %>
|
|
|
|
<%= submit_tag "Cancel", :type => "button", class: "bt-cancel fn_btn ini_input hp hh2 thmtxt" %>
|
|
|
|
</div>
|
2012-11-20 17:56:30 +00:00
|
|
|
</div>
|
2012-12-06 03:43:40 +00:00
|
|
|
<div id="new_co_author" class="s_grid_con s_form vp">
|
|
|
|
<ul>
|
2012-11-20 17:56:30 +00:00
|
|
|
<li class="s_grid_row">
|
2012-12-06 03:43:40 +00:00
|
|
|
<%= f.label :co_author, class: "s_grid s_grid_2" %>
|
|
|
|
<%= f.text_field :co_author, class: "s_grid s_grid_4" %>
|
2012-11-20 17:56:30 +00:00
|
|
|
</li>
|
|
|
|
<li class="s_grid_row">
|
2012-12-06 03:43:40 +00:00
|
|
|
<%= f.label :email, class: "s_grid s_grid_2"%>
|
|
|
|
<%= f.text_field :email, class: "s_grid s_grid_4" %>
|
2012-11-20 17:56:30 +00:00
|
|
|
</li>
|
2012-12-06 03:43:40 +00:00
|
|
|
<li class="s_grid_row">
|
|
|
|
<%= f.label :type, class: "s_grid s_grid_2"%>
|
|
|
|
<select name="co_author[co_author_relations_id]" id="" class="s_grid s_grid_4">
|
|
|
|
<%= options_for_select(
|
|
|
|
@co_author_relations.map do |relation|
|
|
|
|
[relation.relation, relation.id]
|
|
|
|
end
|
|
|
|
)%>
|
|
|
|
</select>
|
2012-11-20 17:56:30 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2012-12-06 03:43:40 +00:00
|
|
|
</div>
|