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
w
[pettanr/pettanr.git]
/
app
/
views
/
panels
/
index.html.erb
diff --git
a/app/views/panels/index.html.erb
b/app/views/panels/index.html.erb
index
8fd3127
..
46cf3f3
100644
(file)
--- a/
app/views/panels/index.html.erb
+++ b/
app/views/panels/index.html.erb
@@
-1,8
+1,6
@@
-<h1>
Listing panels 最近の投稿
</h1>
+<h1>
<%= t '.title' -%>
</h1>
<% @panels.each do |panel| %>
<% @panels.each do |panel| %>
- <%= render 'standard', :panel => panel %>
+ <%= render 'standard', :panel => panel
, :author => @author
%>
<% end %>
<% end %>
-<%= link_to 'open form', new_panel_path, :remote => true %>
- <div id="newpanel">
- uploader
- </div>
+<%= paginate(@paginate) %>
+<%= link_to t('panels.new.title'), new_panel_path %>