OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
t#32329:fix edit navi
[pettanr/pettanr.git]
/
app
/
views
/
scrolls
/
show.html.erb
diff --git
a/app/views/scrolls/show.html.erb
b/app/views/scrolls/show.html.erb
index
18320c4
..
8134fa8
100644
(file)
--- a/
app/views/scrolls/show.html.erb
+++ b/
app/views/scrolls/show.html.erb
@@
-32,8
+32,8
@@
<%= l @scroll.updated_at %>
</p>
<%= l @scroll.updated_at %>
</p>
-<%= link_to t('link.edit'), edit_scroll_path(@scroll) %>
<% if @scroll.own? @author -%>
<% if @scroll.own? @author -%>
+ <%= link_to t('link.edit'), edit_scroll_path(@scroll) %>
<h3><%= t('scroll_panels.append.new_panels') -%></h3>
<table>
<% @new_panels.each do |panel| %>
<h3><%= t('scroll_panels.append.new_panels') -%></h3>
<table>
<% @new_panels.each do |panel| %>