<%= form.fields_for :image do |imgf| %>
| <%= imgf.label :uploaded_file %> |
<%= imgf.file_field :uploaded_file %>
<% if !imgf.object.new_record? && imgf.object.errors.empty? %>
<%= material_image_tag @material, "JPG", width: "100%" %>
<%= imgf.check_box :_destroy %>
<%= imgf.label :_destroy %>
<%= imgf.hidden_field :id %>
<% end %>
|
<% end %>
| <%= form.label :links %> |
<%= form.text_field :links%> |
| <%= form.label :sites %> |
<%= form.text_area :sites, size: "40"%> |
| <%= form.label :publish_flg %> |
<% if @entry.present? %>
この画像は次の記事が参照しています。<%= link_to @entry.title, @entry %>
このファイルは『記事の公開』と連動して自動的に公開されます。
<% else %>
<% end %>
|
| <%= form.label :dl_condition %> |
<%= form.select :dl_condition,[["ダウンロード可","public"],["会員のみダウンロード可","member_only"],["ダウンロード不可","private"]] %>
|
| <%= form.label :dl_description %> |
|
| <%= form.label :email %> |
<%= form.text_field :email %> |
| <%= form.label :category %> |
<%= form.text_field :category%> |
| 日本語表記 |
| <%= form.label :tilte %> |
<%= form.text_field :title%> |
| <%= form.label :description %> |
<%= form.text_area :description,{class: "tinymce",id: "editor1"}%>
<%= tinymce %>
|
| <%= form.label :keyword %> |
<%= form.text_field :keyword0 ,size: 10%>
<%= form.text_field :keyword1 ,size: 10%>
<%= form.text_field :keyword2 ,size: 10%>
<%= form.text_field :keyword3 ,size: 10%>
<%= form.text_field :keyword4 ,size: 10%>
|
| 氏名 |
<%= form.label :name_sei %> <%= form.text_field :name_sei ,size: 10%>
<%= form.label :name_mei %> <%= form.text_field :name_mei ,size: 10%>
|
| <%= form.label :organization %> |
<%= form.text_field :organization %> |
| <%= form.label :department %> |
<%= form.text_field :department %> |
| <%= form.label :regard_fields %> |
<%= form.text_field :regard_fields %> |
| 英語表記 |
| <%= form.label :tilte_en %> |
<%= form.text_field :title_en %> |
| <%= form.label :description_en %> |
<%= form.text_area :description_en,{class: "tinymce",id: "editor2"}%>
<%= tinymce %>
|
| <%= form.label :keyword %> |
<%= form.text_field :keyword0_en ,size: 10%>
<%= form.text_field :keyword1_en ,size: 10%>
<%= form.text_field :keyword2_en ,size: 10%>
<%= form.text_field :keyword3_en ,size: 10%>
<%= form.text_field :keyword4_en ,size: 10%>
|
| Name |
<%= form.label :name_first %> <%= form.text_field :name_first ,size: 10%>
<%= form.label :name_family %> <%= form.text_field :name_family ,size: 10%>
<%= form.label :name_other %> <%= form.text_field :name_other ,size: 10%>
|
| <%= form.label :organization_en %> |
<%= form.text_field :organization_en %> |
| <%= form.label :departeent_en %> |
<%= form.text_field :department_en %> |
| <%= form.label :regard_fields_en %> |
<%= form.text_field :regard_fields_en %> |