Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Commit

Permalink
まとめ:編集: 導線を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
YOSHIDA Hiroki committed Nov 26, 2013
1 parent 62c56a3 commit 3a9251e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/assets/stylesheets/matomes.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ $cover_size: 100px;
.title {
}
}

#edit {
width: $cover_size;
text-align: center;

a {
color: #444;
}
}
}

// form
Expand Down
4 changes: 4 additions & 0 deletions app/views/matomes/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
span.avatar = link_to_user_by_avatar(@matome.user)
span.name = "#{@matome.user.nick_name}"
span.title さん
- if current_user
- if current_user.id == @matome.user_id
p#edit
= link_to 'まとめを編集', edit_matome_path(@matome)
.clear

- if @clips.present?
Expand Down

0 comments on commit 3a9251e

Please sign in to comment.