[BioRuby-cvs] bioruby/lib/bio/shell/rails/vendor/plugins/generators/bioruby/templates index.rhtml, 1.6, 1.7

Katayama Toshiaki k at dev.open-bio.org
Mon Sep 17 00:55:20 UTC 2007


Update of /home/repository/bioruby/bioruby/lib/bio/shell/rails/vendor/plugins/generators/bioruby/templates
In directory dev.open-bio.org:/tmp/cvs-serv30992/templates

Modified Files:
	index.rhtml 
Log Message:
* remove end_form_tag (deprecated)


Index: index.rhtml
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/rails/vendor/plugins/generators/bioruby/templates/index.rhtml,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** index.rhtml	17 Sep 2007 00:01:11 -0000	1.6
--- index.rhtml	17 Sep 2007 00:55:18 -0000	1.7
***************
*** 1,25 ****
  <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')) %>
! <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_form_tag %>
  </div>
  <div id="logs">
  </div>
--- 1,25 ----
  <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>




More information about the bioruby-cvs mailing list