From 59c52eca56e03e66d97e2a6d688710ffeac9c165 Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 23 Sep 2015 14:47:29 +0200 Subject: changed id for tests --- views/predict.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/predict.haml b/views/predict.haml index de92c15..bb72cad 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -131,8 +131,8 @@ - @models.select{|m| m.endpoint == endpoint}.each do |model| %div.row{:id => model.id} %span.col-sm-4 - %input{:type => "checkbox", :name => "selection[#{model.id}]", :id => "selection[#{model.id}]", :value => true, :disabled => false} - %label{:for => "selection[#{model.id}]"} + %input{:type => "checkbox", :name => "selection[#{model.id}]", :id => "selection[#{model.species}]", :value => true, :disabled => false} + %label{:for => "selection[#{model.species}]"} = model.species %span.col-sm-8 %a.btn.btn-default.btn-xs{:data=>{:toggle=>"collapse"}, :href=>"#details#{model.id}", :id => "link#{model.id}", :style=>"font-size:small;"} -- cgit v1.2.3