Sha256: f8af4f1d95803909a139012f801aa57e41440532fc0a90a0ba20ea81d5c43157

Contents?: true

Size: 1.41 KB

Versions: 26

Compression:

Stored size: 1.41 KB

Contents

<%= form_tag do %>
  <%= render_message do %>
    <h2><%= _t(:internal_link_headline) %></h2>
    <p><%= _t(:internal_link_page_elements_explanation) %></p>
    <p><%= _t(:internal_link_page_anchors_explanation) %></p>
  <% end %>
  <div id="page_selector_container">
    <% if @page_root %>
    <ul id="sitemap">
      <%= render partial: 'page_for_links', object: @page_root, locals: {area_name: @area_name} %>
    </ul>
    <% end %>
  </div>
  <div class="input select">
    <label for="internal_anchor" class="control-label">
      <%= _t(:anchor) %>
    </label>
    <%= select_tag(:internal_anchor,
      options_for_select([[_t('Please choose'), '']]),
      class: 'alchemy_selectbox') %>
  </div>
  <div class="input text">
    <label for="internal_link_title" class="control-label">
      <%= _t(:link_title) %>
    </label>
    <%= text_field_tag "internal_link_title", '', class: 'link_title' %>
  </div>
  <div class="input select">
    <label for="internal_link_target" class="control-label">
      <%= _t("Open Link in") %>
    </label>
    <%= select_tag 'internal_link_target',
      options_for_select(Alchemy::Page.link_target_options),
      class: 'alchemy_selectbox link_target' %>
  </div>
  <div class="submit">
    <%= hidden_field_tag(:internal_urlname) %>
    <%= hidden_field_tag(:page_anchor) %>
    <%= link_to _t(:apply), '', class: 'create-link button', 'data-link-type' => 'internal' %>
  </div>
<% end %>

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
alchemy_cms-3.2.1 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.3 app/views/alchemy/admin/pages/_internal_link.html.erb
lc_alchemy_cms-3.2.1 app/views/alchemy/admin/pages/_internal_link.html.erb
lc_alchemy_cms-3.2.0 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.2.0 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.2.0.rc1 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.2.0.beta app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.1 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.0.4 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.0 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.0.rc3 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.0.rc2 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.0.rc1 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.0.beta6 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.0.beta5 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.0.beta4 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.0.beta3 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.0.beta2 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/pages/_internal_link.html.erb