Sha256: de116640e6f2035074d409ef7af69c1643f977d0cfaac17c0df982a254847267

Contents?: true

Size: 597 Bytes

Versions: 10

Compression:

Stored size: 597 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.label :remove_document %>
    <%= form.check_box :remove_document %>
  </p>
  <p>
    <%= form.label :remote_document_url %>
    <%= form.text_field :remote_document_url %>
  </p>
  <p>
    <%= form.submit %>
  </p>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
refile-0.5.5 spec/refile/test_app/app/views/normal_posts/_form.html.erb
refile-0.5.4 spec/refile/test_app/app/views/normal_posts/_form.html.erb
refile-0.5.3 spec/refile/test_app/app/views/normal_posts/_form.html.erb
refile-0.5.2 spec/refile/test_app/app/views/normal_posts/_form.html.erb
refile-0.5.1 spec/refile/test_app/app/views/normal_posts/_form.html.erb
refile-0.5.0 spec/refile/test_app/app/views/normal_posts/_form.html.erb
refile-0.4.2 spec/refile/test_app/app/views/normal_posts/_form.html.erb
refile-0.4.1 spec/refile/test_app/app/views/normal_posts/_form.html.erb
refile-0.4.0 spec/refile/test_app/app/views/normal_posts/_form.html.erb
refile-0.3.0 spec/refile/test_app/app/views/normal_posts/_form.html.erb