Sha256: e5ec1acc6d63f9a8ec72ce45815e28f54691dd82a34593cd1778bfa81d6b9390

Contents?: true

Size: 639 Bytes

Versions: 9

Compression:

Stored size: 639 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

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/essences/_linkable_essence_tools.html.erb
alchemy_cms-2.5.3 app/views/alchemy/essences/_linkable_essence_tools.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/essences/_linkable_essence_tools.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/essences/_linkable_essence_tools.html.erb
alchemy_cms-2.5.2 app/views/alchemy/essences/_linkable_essence_tools.html.erb
alchemy_cms-2.5.1 app/views/alchemy/essences/_linkable_essence_tools.html.erb
alchemy_cms-2.5.0 app/views/alchemy/essences/_linkable_essence_tools.html.erb
alchemy_cms-2.5.0.rc3 app/views/alchemy/essences/_linkable_essence_tools.html.erb
alchemy_cms-2.5.0.b9 app/views/alchemy/essences/_linkable_essence_tools.html.erb