Sha256: 980bc53161e07c539230953a1e2f9b79c35ef14f9ddbd2c8a771fb027e7d80e9

Contents?: true

Size: 490 Bytes

Versions: 5

Compression:

Stored size: 490 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 %>" id="<%%= content.dom_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

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_cms-3.0.0 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.0.0.rc8 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.0.0.rc7 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.0.0.rc6 lib/rails/generators/alchemy/essence/templates/editor.html.erb
alchemy_cms-3.0.0.rc5 lib/rails/generators/alchemy/essence/templates/editor.html.erb