Sha256: 7f4563cde1d1781bf16f1f2192ccef877945c344cfd8c9a79f62b20929e4b657
Contents?: true
Size: 1.06 KB
Versions: 16
Compression:
Stored size: 1.06 KB
Contents
<% options = local_assigns.fetch(:options, {}) %> <% html_options = local_assigns.fetch(:html_options, {}) %> <div class="essence_text content_editor<%= options[:display_inline].to_s == 'true' ? ' display_inline' : '' %>" id="<%= content.dom_id %>"> <%= content_label(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], type: content.settings_value(:input_type) || "text" ) %> <% 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>
Version data entries
16 entries across 16 versions & 1 rubygems