ol.breadcrumb li - if !@controle_de_pagamento.folha_de_pagamento.present? = link_to "Controle De Pagamentos", sem_folha_contabilidade_controle_de_pagamentos_path, class: "link_breadcrumb" - else = link_to "Controle De Pagamentos", com_folha_contabilidade_controle_de_pagamentos_path, class: "link_breadcrumb" li.active Editar section.widget .widget-body - if @controle_de_pagamento.folha_de_pagamento.present? == render 'form' - else == render 'form_sem_folha'