Sha256: 5a7bb1d0f1933ada3d8354338760a16ad86ae1b0b5fb6bf44a990693b84e7ee1
Contents?: true
Size: 995 Bytes
Versions: 10
Compression:
Stored size: 995 Bytes
Contents
<% cache(content) do %> <div class="content_editor essence_link" id="<%= content.dom_id %>" data-content-id="<%= content.id %>"> <%= content_label(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
10 entries across 10 versions & 1 rubygems