Orbit/app/views/desktop/co_authors/_form.html.erb

34 lines
807 B
Plaintext

<div class="fn_g hp">
<%= f.submit "Save", name: "commit", value: "Save", class: "fn_btn hh2 thmc2 thmtxt" %>
<!-- <%= submit_tag "Cancel", :class=>"fn_btn hh2 bt-cancel thmc2 thmtxt" %>-->
</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>
<li class="s_grid_row">
<%= f.label :type%><br />
<select name="co_author[type]" id="" class="s_grid s_grid_4">
<%= options_for_select(
[["朋友","朋友"],
["學生","摯友"],
["老師","老師"],
["摯友","摯友"],
["親戚","親戚"],
["同事","同事"],
["共同作者","共同作者"]
])
%>
</select>
</li>
</ul>