Changeset 27

Show
Ignore:
Timestamp:
12/03/2006 06:10:08 PM (2 years ago)
Author:
matthew
Message:

Roll back [25] for now, because Rails 1.1.x doesn't support
{ :method => :post }.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/auto-admin/themes/django/views/edit.rhtml

    r25 r27  
    1919<div class="submit-row"> 
    2020<% unless @object.new_record? %> 
    21 <p class="float-left"><%= link_to 'Delete', { :action => 'delete', :model => params[:model], :id => @object.id }, { :class => 'deletelink', :method => :post, :confirm => "Are you sure you want to delete \"#{@object.to_label}\"?" } %></p> 
     21<p class="float-left"><%= link_to 'Delete', { :action => 'delete', :model => params[:model], :id => @object.id }, { :class => 'deletelink', :post => true, :confirm => "Are you sure you want to delete \"#{@object.to_label}\"?" } %></p> 
    2222<% end %> 
    2323<input type="submit" value="Save and add another" name="_addanother"  />