From 548718b9879c3fd79c331b69d87b693106558422 Mon Sep 17 00:00:00 2001 From: gebele Date: Wed, 31 Aug 2011 12:30:11 +0200 Subject: changed if query --- views/predict.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/predict.haml b/views/predict.haml index 2e78b69..ff1dab9 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -31,7 +31,7 @@ Choose one or more prediction models %br - @models.each do |model| - - if is_authorized(model.web_uri, "DELETE") + - if is_authorized(model.web_uri, "PUT") %input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => "model#{model.id}", :disabled => false} %label{:for => "model#{model.id}"} = model.name -- cgit v1.2.3