Sha256: 9e76154032898a93c4212a9f581c97aa6d120e86b1e69104c7e2876d896fccd8
Contents?: true
Size: 913 Bytes
Versions: 6
Compression:
Stored size: 913 Bytes
Contents
<% form_tag send(@Klass.to_s.underscore + '_path', :update => @update_span , :attribute => @attribute, :form_element => @form_element, :sub_id => @sub_id ), :method => :put, # this is going to the update method! :multipart => true, :class => "edit_form", :remote => true do -%> <div class="edit_form_field"> <%= send("#{@form_element.to_s}_edit", @object, @attribute) %> </div> <%= link_to( send( @Klass.to_s.underscore + '_path', :update => @update_span || "field_#{@attribute}_#{@object.id.to_s}", :attribute => @attribute, :form_element => @form_element, :sub_id => @sub_id ), :method => :get, # this is going to the show method! :class => "edit_form_cancel", :remote => true ) do %> <input type="button" name="cancel" value="cancel" /> <% end %> <%= submit_tag "ok", :class => "edit_form_submit"-%> <div style="clear: both;"></div> <% end -%>
Version data entries
6 entries across 6 versions & 1 rubygems