Sha256: 20c10909ec502dfd60fb4e879979c74406ba14e312341d32689aff073ffe327f

Contents?: true

Size: 659 Bytes

Versions: 3

Compression:

Stored size: 659 Bytes

Contents

<%= form_for(@post) do |f| %>
  <% if @post.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@post.errors.count, "error") %> prohibited this post from being saved:</h2>

      <ul>
      <% @post.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>
  <div class="field">
    <%= file_upload(f, :image) %>
  </div>
  <div class="field">
    <%= file_upload(f, :image) %>
  </div>
  <div class="field">
    <%= file_upload(f, :image) %>
  </div>
  <div class="field">
    <%= file_upload(f, :image) %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ouvrages_file_uploader-0.0.3 test/dummy/app/views/posts/_form.html.erb
ouvrages_file_uploader-0.0.2 test/dummy/app/views/posts/_form.html.erb
ouvrages_file_uploader-0.0.1 test/dummy/app/views/posts/_form.html.erb