ol.breadcrumb li = link_to "Projetos Básicos", licitacao_projetos_path, class: "link_breadcrumb" li = link_to "#{@projeto.pedido.numero}", @projeto, class: "link_breadcrumb" li.active Cadastrar Ações das Operações de Crédito do Projeto section.widget .widget-body = form_for( @projeto, url: url_for(action: 'atualizar_operacoes', controller: 'licitacao/projetos'), html: { class: "form-vertical" }, role: "form" ) do |f| br .form-group .row .col-sm-12 fieldset legend strong ' Adicionar Operações de Crédito do Projeto .table-responsive table.table.table-bordered.table-hover thead tr th Descrição th width="10%" Opções tbody#operacoes_de_credito_do_projeto = f.fields_for :operacoes_de_credito_do_projeto do |operacao_de_credito_do_projeto| = render 'operacao_de_credito_do_projeto_fields', f: operacao_de_credito_do_projeto, operacoes_de_credito: @operacoes_de_credito = error_for @projeto, :operacoes_de_credito_do_projeto tfoot tr td.links colspan=2 align="right" = link_to_add_association ' Adicionar'.html_safe, f, :operacoes_de_credito_do_projeto, :"data-association-insertion-node" => "tbody#operacoes_de_credito_do_projeto", :"data-association-insertion-method" => "append", class: 'btn btn-primary btn-sm', id: 'btn-add-operacao-de-credito-do-projeto' .form-actions .row .col-sm-12 = f.submit "Salvar", class: "btn btn-primary" = link_to "Cancelar", licitacao_projeto_path(@projeto), class: "btn btn-default"