diff options
author | Christoph Helma <helma@in-silico.ch> | 2010-08-25 12:28:39 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2010-08-25 12:28:39 +0200 |
commit | ab9a669b922b3a7c72a60e96e2bbf65c062b05ab (patch) | |
tree | 2d32367819457a2b9c6480a2dd0a4effc2d648e4 /views/model.haml | |
parent | 6b422d9c03a0f72785d4f7bde9bd384835e5ce5a (diff) |
initial version for quantitative features, some improvements suggested by david
Diffstat (limited to 'views/model.haml')
-rw-r--r-- | views/model.haml | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/views/model.haml b/views/model.haml index 234dcc6..454423a 100644 --- a/views/model.haml +++ b/views/model.haml @@ -8,6 +8,7 @@ %div{:id => "model_#{model.id}"} %h2 = model.name + .model %dl %dt Status: @@ -31,9 +32,9 @@ - if model.status == 'Completed' %dt Algorithm: %dd - %a{:href => "http://www.in-silico.de/articles/modi020905.pdf"} #{File.basename model.algorithm} + = toggle_link("#lazar_description","lazar") %dt Type: - %dd= model.type + %dd= toggle_link("##{model.type}","#{model.type}") %dt Descriptors: %dd %a{:href => 'http://www.maunz.de/libfminer2-bbrc-doc/'} Fminer backbone refinement classes @@ -56,10 +57,5 @@ %a{:href => "#{model.uri}.rdf"} RDF/XML , %a{:href => "#{model.uri}.yaml"} YAML - %em (experts, models cannot be exported in Excel) - - case model.type - - when "classification" - = haml :classification_validation, :locals=>{:model=>model}, :layout => false - -when "regression" - = haml :regression_validation, :locals=>{:model=>model}, :layout => false - + %em (experts, models cannot be represented in Excel) + = haml :validation, :locals=>{:model=>model}, :layout => false |