tr.nested-fields td = f.input :categoria_id, label: false, collection: @categorias, label_method: :codigo_e_titulo, include_blank: "Selecione", input_html: { class: "s2 categoria" } td = f.input :sub_categoria_id, label: false, collection: f.object.retorna_sub_categorias, label_method: :titulo, include_blank: "Selecione", input_html: { class: "s2 sub-categoria" } td.text-center = link_to_remove_association " Remover", f, class: "btn btn-sm btn-danger icone-anular"