Sha256: 0b0ab53a9fe12c2b7092b127d123c2d49e813ccf813fa43e70c509e62c01ae66
Contents?: true
Size: 795 Bytes
Versions: 2
Compression:
Stored size: 795 Bytes
Contents
<% content_for :javascript do %> $('#new_logoA_form') .bind("ajax:complete", function(evt, data, status, xhr){ // Insert response partial into page below the form. $('#prueba').append(xhr.responseText); }); <%end%> <%= form_for :logo, @logo,:url => logos_path, :html => { :multipart => true, :id=>'new_logo_form' }, :remote => false do |f| %> <% if @logo.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@logo.errors.count, "error") %> prohibited this logo from being saved:</h2> <ul> <% @logo.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <%= f.file_field :logo %> <div class="actions"> <%= f.submit %> </div> <div id= "prueba"></div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
social_stream-0.4.1 | app/views/logos/_form.html.erb |
social_stream-0.4.0 | app/views/logos/_form.html.erb |