ol.breadcrumb li = link_to "Projetos Básicos", licitacao_projetos_path, class: "link_breadcrumb" li = link_to @projeto.pedido.try(:numero), licitacao_projetos_path, class: "link_breadcrumb" li.active Escolher Itens Para Novo Lote .widget .widget-body = form_tag licitacao_criar_lotes_path , method: :post, role: 'form' do fieldset legend strong ' Lista de Itens - if @itens.size > 0 .table-responsive table.table.table-hover thead tr th width="80" Selecionar th ITEM th QUANTIDADE tbody - @itens.each do |item_do_lote| tr id="item_#{item_do_lote.id}" style=('color: #999' if item_do_lote.anulado?) td align="center" = check_box_tag "itens[]", item_do_lote.id unless item_do_lote.anulado? td = item_do_lote.item_do_pedido.item.try(:codigo_descricao_unidade_codigo_da_prefeitura) td = item_do_lote.item_do_pedido.quantidade_total_requisitada.try(:valor, precision: 2) - else p Nenhum item disponivel .form-actions .row .col-sm-12 - if @itens.size > 0 = submit_tag "Criar Lote", class: "btn btn-primary" = link_to "Voltar", @projeto, class: "btn btn-default"