summaryrefslogtreecommitdiff
path: root/views/fragment.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/fragment.haml')
-rw-r--r--views/fragment.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/views/fragment.haml b/views/fragment.haml
new file mode 100644
index 0000000..fa7495d
--- /dev/null
+++ b/views/fragment.haml
@@ -0,0 +1,9 @@
+%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 => model_uri}
+ %input{:type => :hidden, :name => :highlight, :value => smarts}
+ - if smarts.nil?
+ %input{ :type => "submit", :value => "Reset"}
+ - else
+ %input{ :type => "submit", :value => smarts}
+