<%= 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.label :remove_document %> <%= form.check_box :remove_document %>

<%= form.submit %>

<% end %>