Sha256: aa00489f20946a53f6f4d890dc71c4d662bb37c44ee96b8305447a4d770f8edf

Contents?: true

Size: 1007 Bytes

Versions: 27

Compression:

Stored size: 1007 Bytes

Contents

<%= form_tag do %>
  <%= render_message do %>
    <h2><%= _t(:choose_file_to_link) %></h2>
  <% end %>
  <div class="input select">
    <label for="public_filename" class="control-label">
      <%= _t(:file) %>
    </label>
    <%= select_tag "public_filename",
      options_for_select(@attachments),
      prompt: _t('Please choose'),
      class: "alchemy_selectbox" %>
  </div>
  <div class="input text">
    <label for="file_link_title" class="control-label">
      <%= _t(:link_title) %>
    </label>
    <%= text_field_tag "file_link_title", '', class: 'link_title' %>
  </div>
  <div class="input select">
    <label for="file_link_target" class="control-label">
      <%= _t("Open Link in") %>
    </label>
    <%= select_tag 'file_link_target',
      options_for_select(Alchemy::Page.link_target_options),
      class: 'alchemy_selectbox link_target' %>
  </div>
  <div class="submit">
    <%= link_to _t(:apply), '#', class: 'create-link button', 'data-link-type' => 'file' %>
  </div>
<% end %>

Version data entries

27 entries across 27 versions & 2 rubygems

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