| 公開設定 |
| <%= form.label :posted_at, for: "entry_posted_at_1i" %> |
<%= form.datetime_select :posted_at,
start_year: 2000, end_year: Time.now.year + 1,
use_month_numbers: true %> |
| <%= form.label :status %> |
<%= form.select :status, Entry.status_options %> |
| 記事(日本語) |
| <%= form.label :title%> |
<%= form.text_field :title, size: 30 %> |
| <%= form.label :body %> |
<%= form.text_area :body, rows: 10, cols: 45 %> |
| 記事(英語) |
| <%= form.label :title%> |
<%= form.text_field :title_en, size: 30 %> |
| <%= form.label :body %> |
<%= form.text_area :body_en, rows: 10, cols: 45 %> |