summaryrefslogtreecommitdiff
path: root/views/fragment.haml
blob: fa7495dbcdfa4bd386db1032b7a59ca3dd52dfa1 (plain)
1
2
3
4
5
6
7
8
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}