Changeset 25
- Timestamp:
- 11/19/2006 04:51:17 AM (2 years ago)
- Files:
-
- trunk/auto-admin/themes/django/views/edit.rhtml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/auto-admin/themes/django/views/edit.rhtml
r23 r25 19 19 <div class="submit-row"> 20 20 <% unless @object.new_record? %> 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>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> 22 22 <% end %> 23 23 <input type="submit" value="Save and add another" name="_addanother" />
