Sha256: 3709fa3ee9a36edd80bd592caca23d428405b31a145fd44be744c99d9e7e8608

Contents?: true

Size: 407 Bytes

Versions: 5

Compression:

Stored size: 407 Bytes

Contents

<%= form_for [:normal, @post] do |form| %>
  <p>
    <%= @post.errors.full_messages.to_sentence %>
  </p>
  <p>
    <%= form.label :title %>
    <%= form.text_field :title %>
  </p>
  <p>
    <%= form.label :image %>
    <%= form.attachment_field :image %>
  </p>
  <p>
    <%= form.label :document %>
    <%= form.attachment_field :document %>
  </p>
  <p>
    <%= form.submit "Create" %>
  </p>
<% end %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
refile-0.2.4 spec/refile/test_app/app/views/normal_posts/new.html.erb
refile-0.2.3 spec/refile/test_app/app/views/normal_posts/new.html.erb
refile-0.2.2 spec/refile/test_app/app/views/normal_posts/new.html.erb
defile-0.2.1 spec/defile/test_app/app/views/normal_posts/new.html.erb
defile-0.2.0 spec/defile/test_app/app/views/normal_posts/new.html.erb