#39
Discarded
Replacement icons for edit/delete
Reported by scott_brittain on Ajax Scaffold · 20/07/2006 20:56:54
- Assigned to:
- Nobody
- Priority:
- Normal
- Status:
- Discarded
- Category:
- None
- Version:
- 3.1.4
The color isn’t a perfect match, but then again I’m an engineer. :-)
The view change is __domain_.rhtml:
<td>
<% edit_options=“@options.merge(:action”> ‘edit’) >
<= link_to_remote image_tag> 0, :title => “Edit”),
{ :url => edit_options,
:loading => “Element.show(‘#{loading_indicator_id(@options)}’);” },
{ :href => url_for(edit_options) } %>
</td>
and
<td>
<% delete_options=“@options.merge(:action”> ‘destroy’) >
<= link_to_remote image_tag> 0, :title => “Delete”),
{ :url => delete_options,
:confirm => ‘Are you sure you want to delete "’ + group.name + ‘“?’,
:loading => “Element.show(‘#{loading_indicator_id(@options)}’);” },
{ :href => url_for( delete_options ) } %>
</td>
Loading comments...