Sha256: d6dca0772a3d607a1017da89663debfb1c2f86ae00faf9fbab6d3715f60aaf82

Contents?: true

Size: 459 Bytes

Versions: 6

Compression:

Stored size: 459 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
refile-0.5.5 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.5.4 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.5.3 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.5.2 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.5.1 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.5.0 spec/refile/test_app/app/views/direct_posts/new.html.erb