2012-11-20 17:56:30 +00:00
|
|
|
<div class="fn_g hp">
|
2012-11-22 02:49:54 +00:00
|
|
|
<%= f.submit "Save", name: "commit", value: "Save", class: "fn_btn hh2 thmc2 thmtxt" %>
|
2012-12-03 08:19:53 +00:00
|
|
|
<%= submit_tag "Cancel", class: "bt-cancel fn_btn hh2 thmc2 thmtxt" %>
|
2012-11-20 17:56:30 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div></div>
|
|
|
|
<ul>
|
|
|
|
<li class="s_grid_row">
|
|
|
|
<%= f.label :co_author %><br />
|
|
|
|
<%= f.text_field :co_author %>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li class="s_grid_row">
|
|
|
|
<%= f.label :email %><br />
|
|
|
|
<%= f.text_field :email %>
|
|
|
|
</li>
|
|
|
|
|
2012-12-03 06:55:57 +00:00
|
|
|
|
2012-11-20 17:56:30 +00:00
|
|
|
<%= f.label :type%><br />
|
2012-12-03 09:16:28 +00:00
|
|
|
<select name="co_author[co_author_relations_id]" id="" class="s_grid s_grid_4">
|
2012-11-20 17:56:30 +00:00
|
|
|
<%= options_for_select(
|
2012-12-03 06:55:57 +00:00
|
|
|
@co_author_relations.map do |relation|
|
|
|
|
[relation.relation, relation.id]
|
|
|
|
end
|
|
|
|
)%>
|
2012-11-20 17:56:30 +00:00
|
|
|
</select>
|
|
|
|
</li>
|
|
|
|
</ul>
|