Sha256: 5dfa5bd44c78e9bcb8b60f03a66e8f2a66c87de31ab6da26226d626af5ec9510

Contents?: true

Size: 363 Bytes

Versions: 10

Compression:

Stored size: 363 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.submit "Create" %>
  </p>
<% end %>

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
refile-0.4.2 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.4.1 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.4.0 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.3.0 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.2.5 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.2.4 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.2.3 spec/refile/test_app/app/views/direct_posts/new.html.erb
refile-0.2.2 spec/refile/test_app/app/views/direct_posts/new.html.erb
defile-0.2.1 spec/defile/test_app/app/views/direct_posts/new.html.erb
defile-0.2.0 spec/defile/test_app/app/views/direct_posts/new.html.erb