- if dossier.en_construction_ou_instruction? - if dossier_is_followed = link_to unfollow_dossier_path(procedure, dossier), method: :patch, class: 'button' do %i.unfollow> ne plus suivre - else = link_to follow_dossier_path(procedure, dossier), method: :patch, class: 'button' do %i.follow> suivre le dossier - elsif dossier.termine? - if dossier.archived = link_to unarchive_dossier_path(procedure, dossier), method: :patch, class: 'button' do %i.unarchive> désarchiver le dossier - else = link_to archive_dossier_path(procedure, dossier), method: :patch, class: 'button' do %i.archive> archiver le dossier