From 2fa1764ffc79b1bcd751e57b4f4e71a264e3b168 Mon Sep 17 00:00:00 2001 From: mr Date: Fri, 13 May 2011 14:09:25 +0200 Subject: fix haml 3 error --- views/login.haml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/views/login.haml b/views/login.haml index 6d15bb7..3da552d 100644 --- a/views/login.haml +++ b/views/login.haml @@ -33,15 +33,5 @@ %form{ :action => url_for('/login'), :method => "post" } %input{:type => 'hidden', :name => 'username', :id => 'username', :value => "guest"} %input{:type => 'hidden', :name => 'password', :id => 'password', :value => "guest"} - %input{ :type => "submit", :value => "Login as guest"} - -# else - %form{ :action => url_for('/logout'), :method => "post" } - -#%p - You are logged in as: - %b= session[:username] - -# if LOGGER.level == Logger::DEBUG - %br - = session[:subjectid] - %input{ :type => "submit", :value => "Switch user"} - = link_to "Cancel", '/login' - + %input{:type => "submit", :value => "Login as guest"} + -- cgit v1.2.3 From e9a1905129b84ce06925c08538b088697fbfa640 Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 16 May 2011 14:01:44 +0200 Subject: haml error in lazar.haml --- views/lazar.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/views/lazar.haml b/views/lazar.haml index 6ae6b20..8483cf5 100644 --- a/views/lazar.haml +++ b/views/lazar.haml @@ -38,8 +38,7 @@ -# %li %a{:href => "http://ambit.uni-plovdiv.bg:8080/ambit2/query/structure/?search=#{@compound.smiles}", :rel => "external"} Ambit data -# %li - %a{:href => "http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=PureSearch&db=pccompound&term=#{URI.encode('"'+@compound.inchi+'"[InChI]')}", :rel => "external"} PubChem data - (external) + %a{:href => "http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=PureSearch&db=pccompound&term=#{URI.encode('"'+@compound.inchi+'"[InChI]')}", :rel => "external"} PubChem data (external) -# %li %a{:href => "http://chem.sis.nlm.nih.gov/chemidplus/direct.jsp?result=advanced&inchi=#{URI.encode @compound.inchi}", :rel => "external"} ToxNet data -#http://chem.sis.nlm.nih.gov/chemidplus/direct.jsp?result=advanced®no=000143157 -- cgit v1.2.3