OSDN Git Service

t#29316:up;add full credit
[pettanr/pettanr.git] / app / views / original_pictures / _history_list.html.erb
1 <% history.each do |picture| -%>
2   <h3>revision:<%= link_to picture.revision, picture_path(picture) %></h3>
3   <div>licensed at <%= picture.created_at %></div>
4   <table class="no-border">
5     <tr>
6       <td>
7         <%= link_to(tag(:img, picture.opt_img_tag), picture_path(picture.id)) -%>
8       </td>
9       <td>
10         <%= render picture.credit_template, :picture => picture %>
11       </td>
12     </tr>
13   </table>
14 <% end -%>