Sha256: c14d1a01bd71910e63b621d80270df112187e6fd7a29ab4191da009b333d94f2

Contents?: true

Size: 1003 Bytes

Versions: 18

Compression:

Stored size: 1003 Bytes

Contents

<% cache(content) do %>
<div class="content_editor essence_link" id="<%= content.dom_id %>" data-content-id="<%= content.id %>">
  <%= label_and_remove_link(content) %>
  <%= text_field_tag '', content.ingredient,
    class: "thin_border text_with_icon disabled",
    name: nil,
    id: nil,
    disabled: true
  %>
  <%= hidden_field_tag content.form_field_name(:link),
    content.essence.link %>
  <%= hidden_field_tag content.form_field_name(:link_title),
    content.essence.link_title %>
  <%= hidden_field_tag content.form_field_name(:link_class_name),
    content.essence.link_class_name %>
  <%= hidden_field_tag content.form_field_name(:link_target),
    content.essence.link_target %>
  <%= render 'alchemy/essences/shared/linkable_essence_tools', content: content %>
</div>
<script type="text/javascript" charset="utf-8">
  $('#<%= content.form_field_id(:link) %>').on('change', function() {
    $('#<%= content.dom_id %> input.text_with_icon').val($(this).val());
  });
</script>
<% end %>

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.3 app/views/alchemy/essences/_essence_link_editor.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/essences/_essence_link_editor.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.2.0 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.1 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.0 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/essences/_essence_link_editor.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/essences/_essence_link_editor.html.erb