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