Sha256: 0f10111a7be05474ac812e8b5659f070900e373bbed9490ea423074a9d4b83fc

Contents?: true

Size: 1.15 KB

Versions: 1

Compression:

Stored size: 1.15 KB

Contents

<%= form_tag do %>
  <%= render_message do %>
    <h2><%= _t(:internal_link_headline) %></h2>
  <% 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 text">
    <label for="internal_urlname" class="control-label">
      <%= _t(:url) %>
    </label>
    <%= text_field_tag(:internal_urlname) %>
  </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(:page_anchor) %>
    <%= link_to _t(:apply), '', class: 'create-link button', 'data-link-type' => 'internal' %>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/pages/_internal_link.html.erb