Sha256: 3aabb4400fe148309c86b7d11ded90fb1ef1a79c131669c4c13ef060ed07c134

Contents?: true

Size: 1.41 KB

Versions: 33

Compression:

Stored size: 1.41 KB

Contents

<%= form_tag do %>
  <%= render_message do %>
    <h2><%= Alchemy.t(:internal_link_headline) %></h2>
    <p><%= Alchemy.t(:internal_link_page_elements_explanation) %></p>
    <p><%= Alchemy.t(:internal_link_page_anchors_explanation) %></p>
  <% end %>
  <div id="page_selector_container">
    <% if @page_root %>
      <%= render 'sitemap', page_partial: 'page_for_links', full: true %>
    <% end %>
  </div>
  <div class="input select">
    <label for="internal_anchor" class="control-label">
      <%= Alchemy.t(:anchor) %>
    </label>
    <%= select_tag(:internal_anchor,
      options_for_select([[Alchemy.t('Please choose'), '']]),
      class: 'alchemy_selectbox') %>
  </div>
  <div class="input text">
    <label for="internal_link_title" class="control-label">
      <%= Alchemy.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">
      <%= Alchemy.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 Alchemy.t(:apply), '', class: 'create-link button', 'data-link-type' => 'internal' %>
  </div>
<% end %>

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
alchemy_cms-4.0.6 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.6.7 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.6.6 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.0.5 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.0.4 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.1.0.rc1 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.0.3 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.6.5 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.0.2 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.1.0.beta app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.0.1 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.6.4 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.0.0 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.6.3 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.6.2 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.0.0.rc2 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.0.0.rc1 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.6.1 app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-4.0.0.beta app/views/alchemy/admin/pages/_internal_link.html.erb
alchemy_cms-3.6.0 app/views/alchemy/admin/pages/_internal_link.html.erb