Sha256: 1edd1e4420bdd8a5eda920f751317366aaaa9480464acd0b386a1513501202f5

Contents?: true

Size: 538 Bytes

Versions: 22

Compression:

Stored size: 538 Bytes

Contents

<%%#
  Available locals:
  * content (The object the essence is linked to the element)
  * html_options

  Please consult Alchemy::Content.rb docs for further methods on the content object
%>
<%% cache(content) do %>
<div class="content_editor <%= @essence_name.classify.demodulize.underscore %>" id="<%%= content.dom_id %>" data-content-id="<%%= content.id %>">
  <%%= label_and_remove_link(content) %>
  <%%= text_field_tag(
    content.form_field_name,
    content.ingredient,
    :id => content.form_field_id
  ) %>
</div>
<%% end %>

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.3 lib/rails/generators/alchemy/essence/templates/editor.html.erb
lc_alchemy_cms-3.2.1 lib/rails/generators/alchemy/essence/templates/editor.html.erb
lc_alchemy_cms-3.2.0 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.2.0 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.2.0.rc1 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.2.0.beta lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.1 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.0.4 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.0 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.0.rc3 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.0.rc2 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.0.rc1 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.0.beta6 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.0.beta5 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.0.beta4 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.0.3 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.0.beta3 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.0.beta2 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.1.0.beta1 lib/rails/generators/alchemy/essence/templates/editor.html.erb