diff options
Diffstat (limited to 'views/layout.haml')
-rw-r--r-- | views/layout.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/views/layout.haml b/views/layout.haml index 8641692..40c6747 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -6,6 +6,7 @@ function display(element,uri) { $(element).html("<img src=\"/spinning-wait-icons/wait30trans.gif\" alt=\"Searching PubChem\">"); $.ajax({ + cache: true, url: uri, success: function(data){ $(element).html(data); @@ -20,7 +21,7 @@ %h1 adverse outcome pathways %form{:name => "form", :action => '/search', :method => "GET"} %fieldset - %label{:for => 'identifier'} Compound name: - %input{:type => 'text', :name => 'name', :id => 'name', :size => '60'} - %input{ :type => "submit", :value => "Predict" } + %label{:for => 'name'} Compound name: + %input{:type => 'text', :name => 'name', :id => 'name'} + %input{ :type => "submit", :value => "Search" } = yield |