summaryrefslogtreecommitdiff
path: root/views/fragment.haml
blob: 3b9f68bd9e4d64b663ca2709adf11873872feb8d (plain)
1
2
3
4
5
6
7
8
9
10
%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}
  %input{:type => :hidden, :name => :subjectid, :value => session[:subjectid]}
  - if smarts.nil?
    %input{ :type => "submit", :value => "Reset"}
  - else
    %input{ :type => "submit", :value => smarts}