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