From: <jh...@us...> - 2009-12-10 21:10:52
|
Revision: 180 http://etch.svn.sourceforge.net/etch/?rev=180&view=rev Author: jheiss Date: 2009-12-10 21:10:38 +0000 (Thu, 10 Dec 2009) Log Message: ----------- Add delete link Modified Paths: -------------- trunk/server/app/views/clients/show.html.erb Modified: trunk/server/app/views/clients/show.html.erb =================================================================== --- trunk/server/app/views/clients/show.html.erb 2009-12-04 23:54:08 UTC (rev 179) +++ trunk/server/app/views/clients/show.html.erb 2009-12-10 21:10:38 UTC (rev 180) @@ -58,7 +58,8 @@ <p class="metadata"> <strong>Created at:</strong> <%= h(@client.created_at) %><br /> - <strong>Updated at:</strong> <%= h(@client.updated_at) %> + <strong>Updated at:</strong> <%= h(@client.updated_at) %><br /> + <%= link_to 'Delete', client_path(@client), :confirm => 'Are you sure?', :method => :delete %></p> </p> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |