OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
t#30009:fix views
[pettanr/pettanr.git]
/
app
/
views
/
home
/
comic.html.erb
1
<h1>Listing comics</h1>
2
<% @comic = Comic.new unless @comic %>
3
4
<%= render 'comics/form' %>
5
6
<table>
7
<tr>
8
<th>title</th>
9
<th>author</th>
10
<th>updated_at</th>
11
<th>edit</th>
12
</tr>
13
<% @comics.each do |comic| %>
14
<%= render 'comics/list_item', :comic => comic, :author => @author %>
15
<% end %>
16
</table>