diff options
Diffstat (limited to 'views/predict.haml')
-rw-r--r-- | views/predict.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/predict.haml b/views/predict.haml index 26c8094..347592c 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -26,9 +26,11 @@ - @models.each do |model| %label{:for => model.id} = model.name - %input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => model.id} + -#%input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => model.id, :disabled => !is_authorized(model.uri, "GET")} + %input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => model.id, :disabled => false} %br + %input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]} %input{ :type => "submit", :value => "Predict", :onclick => "getsmiles();"} = link_to 'Cancel', '/predict' |