index.html.haml revision 4e0724b6358960a5e8394dbfd6e0c2d15a6061d5
= repository_nav parent.repository, :ontologies
= ontology_nav @ontology, :theorems
- if can?(:write, parent.repository) && @ontology.theorems.provable.any?
= link_to t('theorems.index.prove'), url_for([ontology, :prove]), class: 'btn btn-primary'
= pagination(build_links_from_request: true) do
%thead
%tr
%th= t('theorems.index.name')
%th= t('theorems.index.text')
%th= t('theorems.index.proof_status')
%th= t('state')
%tbody
= render partial: 'theorem', collection: collection