delete photo button on photo show page instead of delete album.
This commit is contained in:
parent
e6d2f51675
commit
7992b1b0e0
3 changed files with 3 additions and 3 deletions
|
|
@ -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})"
|
||||
|
|
|
|||
|
|
@ -379,5 +379,5 @@ h1.big_text {
|
|||
text-align: center;
|
||||
font-style: italic;
|
||||
margin-top: -5px;
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 20px;
|
||||
color: #999999; }
|
||||
|
|
|
|||
|
|
@ -469,5 +469,5 @@ h1.big_text
|
|||
:style italic
|
||||
:margin
|
||||
:top -5px
|
||||
:bottom 15px
|
||||
:bottom 20px
|
||||
:color #999
|
||||
|
|
|
|||
Loading…
Reference in a new issue