Sha256: d450121aed625697812b76c5e66021235601efedf1674f2221f726d579591954
Contents?: true
Size: 1.5 KB
Versions: 20
Compression:
Stored size: 1.5 KB
Contents
<div id="overlay_tab_external_link"> <h2> <%= _("enter_external_link") %> </h2> <table class="window_form"> <tr> <td> <%= select_tag( 'url_protocol', options_for_select([ ['http://', 'http://'], ['mailto:', 'mailto:'], ['ftp://', 'ftp://'], ['https://', 'https://'], ['ftps://', 'ftps://'] ]), :class => 'medium' ) %> </td> <td class="input"> <%= text_field_tag 'external_url', {}, :class => "thin_border auto_resize" %> </td> </tr> <tr> <td class="label"> <label for="extern_link_title" class="medium"><%= _("link_title") %></label> </td> <td class="input"><%= text_field_tag "extern_link_title", {}, :class => 'thin_border auto_resize link_title' %></td> </tr> <tr> <td class="label"> <label for="link_target" class="very_long"><%= _("Open Link in") %>:</label> </td> <td> <%= select_tag 'link_target', options_for_select(Page.link_target_options), :class => 'link_target' %> </td> </tr> </table> <p> <%= link_to_function( _('apply'), %( Alchemy.LinkOverlay.createLink( 'external', jQuery('#url_protocol').val() + jQuery('#external_url').val(), jQuery('#extern_link_title').val(), jQuery('#link_target').val() ); Alchemy.LinkOverlay.close() ), :class => 'button' ) %> </p> </div>
Version data entries
20 entries across 20 versions & 1 rubygems