Sha256: a132211afd7f6a31f104005c54cf2096e817d8a020a85fd89e7079202525fbd5

Contents?: true

Size: 555 Bytes

Versions: 26

Compression:

Stored size: 555 Bytes

Contents

<%= form_for( @image, :html => { :multipart => true } ) do |f| %>

  <% if @image.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@image.errors.count, "error") %> prohibited this encodable from being saved:</h2>
      <ul>
      <% @image.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
  	<%= f.label :file, "Upload image file" %>
  	<%= f.file_field :file %>
  </div>
  
  <div class="actions">
    <%= f.submit %>
  </div>
  
<% end %>

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
phocoder-rails-0.0.58 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.57 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.56 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.55 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.54 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.53 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.52 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.51 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.50 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.49 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.48 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.47 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.46 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.45 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.44 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.43 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.42 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.41 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.40 spec/dummy/app/views/images/_form.html.erb
phocoder-rails-0.0.39 spec/dummy/app/views/images/_form.html.erb