Sha256: 86bf5f9eff71d84dd0436407aac08d5047656c53e2f78b4162d09494e3d1c33b

Contents?: true

Size: 681 Bytes

Versions: 3

Compression:

Stored size: 681 Bytes

Contents

<%= div_for link, :class => 'content_size' do %>
  <% if link.image %>
    <div class="thumbnail">
      <%= image_tag(link.image)%>
      <%= hidden_field_tag "link[image]", link.image %>
    </div>
  <% end %>
  <div class="info">
    <% if link.title %>
      <div class="title">
        <%= link.title %>
        <%= hidden_field_tag "link[title]", link.title %>
      </div>
    <% end %>
    <div class="url">
      <%= auto_link(link.url) %>
    </div>
    <% if link.description %>
      <div class="description">
        <%= auto_link(link.description) %>
        <%= hidden_field_tag "link[description]", link.description %>
      </div>
    <% end %>
  </div>
<% end %>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
social_stream-0.14.1 linkser/app/views/links/_link_preview.html.erb
social_stream-0.14.0 linkser/app/views/links/_link_preview.html.erb
social_stream-linkser-0.0.1 app/views/links/_link_preview.html.erb