Sha256: 0681e42c3cc51aa7c3ed1bf8f0bdd9256667466dd6a3bdfe1f3266deb390f6fb

Contents?: true

Size: 991 Bytes

Versions: 27

Compression:

Stored size: 991 Bytes

Contents

<% cache(content) do %>
  <div class="essence_text content_editor<%= options[:display_inline].to_s == 'true' ? ' display_inline' : '' %>" id="<%= content.dom_id %>">
    <%= label_and_remove_link(content) %>
    <%= text_field_tag(
      content.form_field_name,
      content.ingredient,
      class: ["thin_border #{content.settings[:linkable] ? ' text_with_icon' : ''}", html_options[:class]].join(' '),
      style: html_options[:style]
    ) %>
    <% if content.settings[:linkable] %>
      <%= 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 %>
    <% end %>
  </div>
<% end %>

Version data entries

27 entries across 27 versions & 2 rubygems

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