Sha256: 32bb940ab0646331c824323c127ebcde3643b894dc60bdbec3f22a18dfc4a09b
Contents?: true
Size: 1.28 KB
Versions: 19
Compression:
Stored size: 1.28 KB
Contents
<% cache(content) do %> <div class="essence_text content_editor<%= options[:display_inline].to_s == 'true' ? ' display_inline' : '' %>" id="<%= content_dom_id(content) %>"> <% if content.settings[:display_as].present? %> <%= warning 'The display_as setting is deprecated! Please run rake alchemy:upgrade', 'You are using the display_as setting in your elements.yml. Please run rake alchemy:upgrade' %> <% else %> <%= 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/linkable_essence_tools', :content => content %> <% end %> <% end %> </div> <% end %>
Version data entries
19 entries across 19 versions & 1 rubygems