Sha256: 399119bf50154e38d38e7e248b299d01fcf412ef840687f0141da410fc3239e6

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 Bytes

Contents

<span class="linkable_essence_tools">
  <%= link_to(
    render_icon(:link),
    '#',
    :onclick => "Alchemy.LinkOverlay.open(this, 420); return false;",
    :class => "icon_button#{content.linked? ? ' linked' : ''}",
    :data => {'content-id' => content.id},
    :title => _t(:place_link),
    :id => "edit_link_#{content.id}"
  ) %>
  <%= link_to(
    render_icon(:unlink),
    '#',
    :onclick => "Alchemy.LinkOverlay.removeLink(this, #{content.id}); return false;",
    :class => "icon_button unlink #{content.linked? ? 'linked' : 'disabled'}",
    :data => {'content-id' => content.id},
    :title => _t(:unlink)
  ) %>
</span>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alchemy_cms-2.6.0.rc5 app/views/alchemy/essences/_linkable_essence_tools.html.erb