new.html.haml revision 03f646de2163bd949f5170ec851a86dc0d3ca064
%h2= @page_title = "Create new Link"
= 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
.form-actions
= f.button :submit, class: 'btn-primary'