Sha256: 3504ad45c3e52421da59ecd2f4e6c4ab5ff864337dccc71933e3f7d7b6dc2289

Contents?: true

Size: 1.35 KB

Versions: 15

Compression:

Stored size: 1.35 KB

Contents

<div id="overlay_tab_file_link">
  <h2>
    <%= t("choose_file_to_link") %>
  </h2>
  <table class="window_form">
    <tr>
      <td class="label long">
        <label for="public_filename"><%= t("file") %></label>
      </td>
      <td class="select">
        <%= select_tag(
          "public_filename",
          options_for_select(@attachments),
          :class => "alchemy_selectbox full_width"
        ) %>
      </td>
    </tr>
    <tr>
      <td class="label long">
        <label for="file_link_title">
          <%= t("link_title") %>
        </label>
      </td>
      <td class="input">
        <%= text_field_tag "file_link_title", '', :class => 'thin_border auto_resize link_title' %>
      </td>
    </tr>
    <tr>
      <td class="label long">
        <label for="file_link_target"><%= t("Open Link in") %>:</label>
      </td>
      <td>
        <%= select_tag 'file_link_target', options_for_select(@link_target_options), :class => 'alchemy_selectbox link_target medium' %>
      </td>
    </tr>
  </table>
  <p>
    <%= link_to_function(
      t("apply"),
      %(
        Alchemy.LinkOverlay.createLink(
          'file',
          jQuery('#public_filename').val(),
          jQuery('#file_link_title').val(),
          jQuery('#file_link_target').val()
        );
        Alchemy.LinkOverlay.close()
      ),
      :class => 'button'
    ) %>
  </p>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
alchemy_cms-2.1.12 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.1.11 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.2.rc11 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.2.rc8 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.2.rc7 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.1.9.1 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.1.9 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.2.rc6 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.1.8.1 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.2.rc3 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.1.8 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.2.rc2 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.2.rc1 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.1.7 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.1.6 app/views/alchemy/admin/pages/_file_link.html.erb