Sha256: ed0834a598aa2a54487d72c52d80a99c21bcc9ba6ebbb734fad3c25241f24403

Contents?: true

Size: 1.08 KB

Versions: 5

Compression:

Stored size: 1.08 KB

Contents

<div class="content_editor" id="<%= content_dom_id(content) %>">
  <%- if options[:show_link_text] -%>
  <label>Link Text</label>
  <%= text_field_tag(
    "contents[content_#{content.id}][text]",
    content.essence.text,
    :id => "content_#{content.id}_text",
    :class => "thin_border text_long"
  ) %>
  <%- end -%>
  <%= hidden_field_tag "contents[content_#{content.id}][url]", content.essence.url, :id => "content_#{content.id}_url" %>
  <%= hidden_field_tag "contents[content_#{content.id}][title]", content.essence.title, :id => "content_#{content.id}_title" %>
  <div style="overflow: hidden; margin: 4px 0; line-height: 25px">
    <p>
      Mit einem Element aus dem CMS verknüpfen:
      <%= link_to_overlay_window(
        render_icon('fill_from_element'),
        teasable_elements_path(:content_id => content.id),
        {
          :title => 'Element aus dem CMS wählen',
          :size => '450x500'
        },
        {
          :class => 'icon_button',
          :title => 'Element aus dem CMS wählen',
          :style => 'float: right'
        }
      ) -%>
    </p>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_crm-2.0.5 app/views/alchemy/essences/_essence_element_teaser_editor.html.erb
alchemy_crm-2.0.4.1 app/views/alchemy/essences/_essence_element_teaser_editor.html.erb
alchemy_crm-2.1.0a app/views/alchemy/essences/_essence_element_teaser_editor.html.erb
alchemy_crm-2.0.3 app/views/alchemy/essences/_essence_element_teaser_editor.html.erb
alchemy_crm-2.0.2 app/views/alchemy/essences/_essence_element_teaser_editor.html.erb