summaryrefslogtreecommitdiff
path: root/views/create.haml
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2010-08-25 12:28:39 +0200
committerChristoph Helma <helma@in-silico.ch>2010-08-25 12:28:39 +0200
commitab9a669b922b3a7c72a60e96e2bbf65c062b05ab (patch)
tree2d32367819457a2b9c6480a2dd0a4effc2d648e4 /views/create.haml
parent6b422d9c03a0f72785d4f7bde9bd384835e5ce5a (diff)
initial version for quantitative features, some improvements suggested by david
Diffstat (limited to 'views/create.haml')
-rw-r--r--views/create.haml20
1 files changed, 13 insertions, 7 deletions
diff --git a/views/create.haml b/views/create.haml
index 3cf05c1..20de401 100644
--- a/views/create.haml
+++ b/views/create.haml
@@ -4,13 +4,13 @@
This service creates
%ul
%li
- %a{:href => 'http://lazar.in-silico.de'} lazar
- %em classification
- models (i.e. models that discriminate between toxic/nontoxic compounds) and
+ = toggle_link("#lazar_description","lazar")
+ %em= toggle_link("#classification","classification")
+ models and
%li
- %a{:href => 'http://lazar.in-silico.de'} lazar
- %em regression
- models (i.e. models that predict quantitative values, e.g. LC50's)
+ = toggle_link("#lazar_description","lazar")
+ %em= toggle_link("#regression","regression")
+ models
from your uploaded datasets. Further modelling algorithms will be added in future versions.
%p
@@ -20,7 +20,7 @@
%form{ :action => url_for('/upload'), :method => "post", :enctype => "multipart/form-data" }
%fieldset
- %label{:for => 'endpoint'} 1. Enter endpoint name and unit (for regression):
+ %label{:for => 'endpoint'} 1. Enter #{toggle_link("#endpoint_description","endpoint")} name and #{toggle_link("#unit","unit")} (for #{toggle_link("#regression","regression")}):
%input{:type => 'text', :name => 'endpoint', :id => 'endpoint', :size => '50'}
%br
%label{:for => 'file'}
@@ -33,3 +33,9 @@
%input{ :type => "submit", :value => "Create model"}
= link_to "Cancel", '/create'
+ -# explanations
+ = haml :lazar_description, :layout => false
+ = haml :classification, :layout => false
+ = haml :regression, :layout => false
+ = haml :endpoint, :layout => false
+ = haml :unit, :layout => false