tr.nested-fields td = f.select :cnae_id, options_from_collection_for_select(@cnaes, :id, :codigo_e_descricao, f.object.try(:cnae_id)), { include_blank: "Selecione" }, class: "form-control s2 col-sm-10" = error_for f.object, :cnae td = f.check_box :principal, style: "margin-left: 40%; -webkit-transform: scale(2);" = error_for f.object, :principal td = link_to_remove_association ' Remover'.html_safe, f, class: "btn btn-danger btn-sm icone-anular", disabled: f.object.principal.present?