diff options
author | Denis Gebele <gebele@alfadeo.de> | 2011-05-12 10:49:33 +0200 |
---|---|---|
committer | Denis Gebele <gebele@alfadeo.de> | 2011-05-12 10:49:33 +0200 |
commit | db1251962cc926312d1b5d06a06f95344130b537 (patch) | |
tree | 15c7d80a858a223f8f6b33f2e15e677fef4d4d08 | |
parent | 58337063969a7aee419b97c9b1c04124bbdcb1aa (diff) |
checkboxes move to left
-rw-r--r-- | views/predict.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/predict.haml b/views/predict.haml index 92e19e7..ec667e6 100644 --- a/views/predict.haml +++ b/views/predict.haml @@ -31,10 +31,10 @@ Choose one or more prediction models %br - @models.each do |model| + %input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => "model#{model.id}", :disabled => false} %label{:for => "model#{model.id}"} = model.name - -#%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#{model.id}", :disabled => false} + -#%input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => model.id, :disabled => !is_authorized(model.uri, "GET")} %br %br %input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]} |