delete photo button on photo show page instead of delete album.

This commit is contained in:
danielvincent 2010-07-27 16:10:42 -07:00
parent e6d2f51675
commit 7992b1b0e0
3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@
= link_to "⇧ #{@album.name}", album_path(@album)
-if mine? @album
.button.right
= link_to 'Delete Album', @album, :confirm => 'Are you sure?', :method => :delete
= link_to 'Delete Photo', @photo, :confirm => 'Are you sure?', :method => :delete
%h4{:class => "show_post_comments"}
= "comments (#{@photo.comments.count})"

View file

@ -379,5 +379,5 @@ h1.big_text {
text-align: center;
font-style: italic;
margin-top: -5px;
margin-bottom: 15px;
margin-bottom: 20px;
color: #999999; }

View file

@ -469,5 +469,5 @@ h1.big_text
:style italic
:margin
:top -5px
:bottom 15px
:bottom 20px
:color #999