summaryrefslogtreecommitdiff
path: root/views/predict.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2013-03-07 11:05:18 +0100
committergebele <gebele@in-silico.ch>2013-03-07 11:05:18 +0100
commitb5f22735b2f73456a885b2961be8556df62589f2 (patch)
tree5a41d38338edf7fcf36adba959a6952693313c1a /views/predict.haml
parent0c2554a5a2c3aebf3e99d70fee2075a9b99f9abe (diff)
works for single prediction
Diffstat (limited to 'views/predict.haml')
-rw-r--r--views/predict.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/views/predict.haml b/views/predict.haml
index 2de8b75..31bd4ed 100644
--- a/views/predict.haml
+++ b/views/predict.haml
@@ -53,9 +53,10 @@
%p Description about these models.
%br
- @models.each do |model|
- %input{:type => 'checkbox', :name => "selection[#{model.title}]", :value => "#{model.metadata}", :uri => "#{model.uri}", :disabled => false}
- %model= model.title
- %p= model.metadata["#{RDF::DC.modified}"]
+ - model.get
+ %input{:type => 'checkbox', :name => "selection[#{model.title}]", :value => true, :disabled => false}
+ %p= model.title
+ %p= model.metadata[RDF::DC.modified]
%br
.close