Sha256: 954f862758c37c7d6ee651228b22ed1d7bedf965617123e82ee51e131e10f201

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

<% content_tag :td, :id => "picture_#{picture.id}" do %>
  <%= link_to image_tag(picture.public_filename(:thumb), :style => "border:0px;"),
        gallery_picture_url(picture.gallery, picture),
        :style => 'display:block;' %>
  <span><%=h "#{picture.title}" %></span>
  <br />
  <% unless picture.description.blank? %>
    <span><%=h picture.description %></span>
    <br />
  <% end %>
  <span>Add : <%=h picture.created_at %> </span><br />
  <span><%= link_to(h("#{picture.comments.count} comments"), picture_url(picture, :anchor => 'comments')) %></span>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pictrails-0.5.0 app/views/pictures/_picture.html.erb