Changeset 27
- Timestamp:
- 12/03/2006 06:10:08 PM (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
r25 r27 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', : 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> 22 22 <% end %> 23 23 <input type="submit" value="Save and add another" name="_addanother" />
