Sha256: 97966623da6b82b3ca9ed932af7258d50c039b41e071b0bccdeefa7d68b2b770

Contents?: true

Size: 798 Bytes

Versions: 12

Compression:

Stored size: 798 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 %>
    <% if link.callback_url %>
        <%= hidden_field_tag "link[callback_url]", link.callback_url %>
    <% end %>
  </div>
<% end %>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
social_stream-0.15.8 linkser/app/views/links/_link_preview.html.erb
social_stream-0.15.7 linkser/app/views/links/_link_preview.html.erb
social_stream-0.15.6 linkser/app/views/links/_link_preview.html.erb
social_stream-linkser-0.0.6 app/views/links/_link_preview.html.erb
social_stream-0.15.5 linkser/app/views/links/_link_preview.html.erb
social_stream-linkser-0.0.5 app/views/links/_link_preview.html.erb
social_stream-0.15.4 linkser/app/views/links/_link_preview.html.erb
social_stream-linkser-0.0.4 app/views/links/_link_preview.html.erb
social_stream-linkser-0.0.3 app/views/links/_link_preview.html.erb
social_stream-0.15.1 linkser/app/views/links/_link_preview.html.erb
social_stream-0.15.0 linkser/app/views/links/_link_preview.html.erb
social_stream-linkser-0.0.2 app/views/links/_link_preview.html.erb