Sha256: 638792c2f438db6a1328659a7408437234383efaca4714ebbb18f5661de90824

Contents?: true

Size: 1.37 KB

Versions: 9

Compression:

Stored size: 1.37 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"
        ) %>
      </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 class="select left">
        <%= select_tag 'file_link_target', options_for_select(Alchemy::Page.link_target_options), :class => 'alchemy_selectbox link_target medium' %>
      </td>
    </tr>
    <tr>
      <td class="submit" colspan="2">
        <%= link_to(_t(:apply), '#', {
          :onclick => "Alchemy.LinkOverlay.createLink('file', jQuery('#public_filename').val(), jQuery('#file_link_title').val(), jQuery('#file_link_target').val()); Alchemy.LinkOverlay.close()",
          :class => 'button'
        }) %>
      </td>
    </tr>
  </table>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
alchemy_cms-2.5.3.1 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.5.3 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.5.2.2 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.5.2.1 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.5.2 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.5.1 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.5.0 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.5.0.rc3 app/views/alchemy/admin/pages/_file_link.html.erb
alchemy_cms-2.5.0.b9 app/views/alchemy/admin/pages/_file_link.html.erb