summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2010-12-14 16:40:18 +0100
committermr <mr@mrautenberg.de>2010-12-14 16:40:18 +0100
commitc5d85910256c699ea9dedc96614f342b807b023e (patch)
tree27aac93011f3a727972431d4e83b056c135efcb5 /views
parent5a01f50477e3fecd5921a8686c80045dbfcf799d (diff)
rename token_id to subjectid
Diffstat (limited to 'views')
-rw-r--r--views/create.haml2
-rw-r--r--views/fragment.haml2
-rw-r--r--views/login.haml4
-rw-r--r--views/predict.haml2
-rw-r--r--views/prediction.haml2
5 files changed, 6 insertions, 6 deletions
diff --git a/views/create.haml b/views/create.haml
index d83d2b9..5aeac67 100644
--- a/views/create.haml
+++ b/views/create.haml
@@ -30,7 +30,7 @@
= link_to "CSV", '/help'
format:
%input{:type => 'file', :name => 'file', :id => 'file', :size => '41'}
- %input{:type => 'hidden', :name => 'token_id', :id => 'token_id', :value => session[:token_id]}
+ %input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]}
%input{ :type => "submit", :value => "Create model"}
= link_to "Cancel", '/create'
diff --git a/views/fragment.haml b/views/fragment.haml
index eae786c..3b9f68b 100644
--- a/views/fragment.haml
+++ b/views/fragment.haml
@@ -2,7 +2,7 @@
%input{:type => :hidden, :name => :compound_uri, :value => compound_uri}
%input{:type => :hidden, :name => :model_uri, :value => model_uri}
%input{:type => :hidden, :name => :highlight, :value => smarts}
- %input{:type => :hidden, :name => :token_id, :value => session[:token_id]}
+ %input{:type => :hidden, :name => :subjectid, :value => session[:subjectid]}
- if smarts.nil?
%input{ :type => "submit", :value => "Reset"}
- else
diff --git a/views/login.haml b/views/login.haml
index 4f45de3..747430e 100644
--- a/views/login.haml
+++ b/views/login.haml
@@ -26,7 +26,7 @@
%b= session[:username]
- if LOGGER.level == Logger::DEBUG
%br
- = session[:token_id]
+ = session[:subjectid]
%input{ :type => "submit", :value => "Logout"}
= link_to "Cancel", '/login'
- \ No newline at end of file
+
diff --git a/views/predict.haml b/views/predict.haml
index 6337a5b..cd5c0d4 100644
--- a/views/predict.haml
+++ b/views/predict.haml
@@ -29,7 +29,7 @@
%input{:type => 'checkbox', :name => "selection[#{model.id}]", :value => true, :id => model.id}
%br
- %input{:type => 'hidden', :name => 'token_id', :id => 'token_id', :value => session[:token_id]}
+ %input{:type => 'hidden', :name => 'subjectid', :id => 'subjectid', :value => session[:subjectid]}
%input{ :type => "submit", :value => "Predict", :onclick => "getsmiles();"}
= link_to 'Cancel', '/predict'
diff --git a/views/prediction.haml b/views/prediction.haml
index f0b48e8..9bb3f76 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -44,7 +44,7 @@
%form{:name => "form", :action => url_for('/lazar'), :method => "post", :enctype => "multipart/form-data" }
%input{:type => :hidden, :name => :compound_uri, :value => @compound.uri}
%input{:type => :hidden, :name => :model_uri, :value => p[:model_uri]}
- %input{:type => :hidden, :name => :token_id, :value => session[:token_id]}
+ %input{:type => :hidden, :name => :subjectid, :value => session[:subjectid]}
%input{ :type => "submit", :value => "Details"}
= haml :confidence, :layout => false