<%= form_for [:normal, @post] do |form| %>

<%= @post.errors.full_messages.to_sentence %>

<%= form.label :title %> <%= form.text_field :title %>

<%= form.label :image %> <%= form.attachment_field :image %>

<%= form.label :document %> <%= form.attachment_field :document %>

<%= form.submit "Create" %>

<% end %>