OSDN Git Service

t#30009:fix views
[pettanr/pettanr.git] / app / views / comics / index.html.erb
1 <h1>Listing comics</h1>
2
3 <table>
4   <tr>
5     <th>title</th>
6     <th>author</th>
7     <th>updated_at</th>
8     <th>edit</th>
9   </tr>
10   <% @comics.each do |comic| %>
11     <%= render 'list_item', :comic => comic, :author => @author %>
12   <% end %>
13 </table>
14 <%= link_to 'new comic', new_comic_path %>