Log File: |
<%= select_tag("filename", options_for_select(@available_logs, @filename),
{:dojoType => "helpsys.ext.ComboBox", :forceSelection => false,
:typeAhead => true, :triggerAction => 'all', :id => '',
:width => 200}) %> |
<%= submit_tag("View", :dojoType => "helpsys.ext.Button", :id => '', :value => 'View') %>
|
<%= button_to_function('Download', "window.open('#{diagnostic_log_index_path(:format => 'text', :download => true)}&filename=' + this.form.filename.value);", :dojoType => "helpsys.ext.Button") %>
|