_form.html.haml revision 25f979bdee494bf6a6aeb54d753352832212dd24
= simple_form_for resource, html: { class: 'form-horizontal' } do |f|
= f.input :iri
= f.input :kind, :as => :select, :collection => Link::KINDS, :include_blank => false
= f.input :theorem
= f.input :proven
= f.input :local
= f.input :inclusion
= f.simple_fields_for :versions, resource.versions.first do |vf|
= vf.input :required_cons_status, :as => :select, :collection => Link::CONS_STATUSES, :include_blank => false
= vf.input :proven_cons_status, :as => :select, :collection => Link::CONS_STATUSES, :include_blank => false
= vf.input :proof_status, :as => :select, :collection => Link::CONS_STATUSES, :include_blank => false
= f.association :source, :include_blank => false
= f.association :target, :include_blank => false
= f.button :wrapped