diff options
author | mr <mr@mrautenberg.de> | 2011-01-12 10:03:21 +0100 |
---|---|---|
committer | mr <mr@mrautenberg.de> | 2011-01-12 10:03:21 +0100 |
commit | 318fb6deb86e326c3e6676c493fd8d327f38c1e1 (patch) | |
tree | 16fd1ff0a2c34c5bc3371cdaac2985d2540eff33 | |
parent | 8db7b18751d8cf07bc41f44382a303a132f70a6f (diff) | |
parent | a6585af10b70c11a7e2dca3b3bc8e90e6131e847 (diff) |
Merge branch 'development' of github.com:rautenberg/opentox-toxcreate into development
-rw-r--r-- | views/predict.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/predict.haml b/views/predict.haml index cd5c0d4..7d81402 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -26,7 +26,7 @@ - @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, "POST")} %br %input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]} |