From 0c2554a5a2c3aebf3e99d70fee2075a9b99f9abe Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 4 Mar 2013 10:28:02 +0100 Subject: first commit --- views/prediction.haml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 views/prediction.haml (limited to 'views/prediction.haml') diff --git a/views/prediction.haml b/views/prediction.haml new file mode 100644 index 0000000..1286d52 --- /dev/null +++ b/views/prediction.haml @@ -0,0 +1,26 @@ +.predictions + .back + %h1 + %img{:src=>"/images/arrow_left_float.png", :alt=>"arrow"} + %a{:href => to('/predict')} New Prediction + + .was + %h2= "Compound image: " + %img{:src=>"#{@compound.uri}/image", :alt=>@compound.uri, :width=>"100px"} + %br + %h2= "Compound SMILES string: " + %p= @identifier + + .results + %h2= "Selected Entpoints: " + - @models.each do |m| + %p= m.inspect + %br + %h2= "Prediction Uri: " + - @predictions.each do |p| + %p= p.uri + %br + %h2= "Prediction Results: " + - @prediction_results.each do |r| + %p= r + -- cgit v1.2.3