.clearfix = link_to new_contabilidade_fundo_de_investimento_path(@conta_bancaria), class: "btn btn-default btn-sm" do i.icone-cadastrar ' Cadastrar Fundos de Investimento .widget header> h5 ' Lista de span.fw-semi-bold Fundos de Investimento .widget-body - if fundos_de_investimento.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th Nome th Alocação do Investimento th Fundo de Investimento th width="100" Opções tbody - fundos_de_investimento.each do |fundo_de_investimento| tr td = fundo_de_investimento.nome_do_fundo td = fundo_de_investimento.percentual_da_alocacao_de_recurso.tipo_traduzido td = fundo_de_investimento.try(:pessoa).try(:nome) td = botao_com_permissao edit_contabilidade_fundo_de_investimento_path(fundo_de_investimento), {acao: :update}, { \ class_icone:'icone-editar', params: {class: 'btn btn-default btn-sm mb-xs', title: "Editar"}, } = botao_com_permissao fundo_de_investimento, {acao: :destroy}, { \ class_icone:'icone-excluir', params: { \ method: :delete, data: { confirm: 'Tem certeza?' }, class: 'btn btn-default btn-sm mb-xs', title: "Apagar", }, }