Created
September 18, 2009 16:30
-
-
Save joemsak/189159 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% div_for(image) do -%> | |
<%= link_to image_tag(image.image.url(:medium), :class => 'thumb'), image.image.url(:large) %> | |
<p> | |
<%= link_to_remote 'Delete', :url => image, :html => { :class => 'lnk-del' }, :confirm => 'You cannot undo this. Are you sure?', :method => :delete %> | |
</p> | |
<% end -%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment