<div id=“console”>

<%- if flash[:notice] -%>
 <div id="notice"><p><%= flash[:notice] %></p></div><br>
<%- end -%>
<% form_remote_tag(:url => {:action => "evaluate"}, :position => "top",
     :before => %(Element.show('spinner')),
     :complete => %(Element.hide('spinner'))) do %>
 <img id="spinner" src="/images/bioruby/spinner.gif" style="display:none">
 <b>BioRuby script:</b>
 <br/>
 <textarea id="script" name="script" rows=10 cols=80></textarea>
 <br/>
 <input type="submit" value="Evaluate">
 <input type="reset" value="Clear">
 &nbsp;&nbsp;
 Show [
 <%= link_to_remote "All",    :url => {:action => "results", :limit => 0} %> |
 <%= link_to_remote "Last 5", :url => {:action => "results", :limit => 5} %> |
 <%= link_to_remote "Previous", :url => {:action => "results", :limit => 1} %>
 ] or <%= link_to "Hide", :action => "index" %> results<br/>
<% end %>

</div>

<div id=“logs”> </div>