summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-01-24 17:47:54 +0100
committermr <mr@mrautenberg.de>2011-01-24 17:47:54 +0100
commit3203db9d2b47d0ac86c74829193f6e53e5eb76a8 (patch)
treef1c0fc25942192e628807df436774d5e5f5e966f
parent2ce114bae009a8d7ae7fa952b20f0c5fa8e7ef6d (diff)
finetuning js, predition page, jquery from 1.4.2 to 1.4.4
-rw-r--r--views/predict.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/predict.haml b/views/predict.haml
index cd5c0d4..b6e1088 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, "GET")}
%br
%input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]}