= javascript_include_tag "base/receitas_stn/pesquisa" - if @receitas_stn.empty? h6 Nenhum registro encontrado. - else .table-responsive table.table.table-hover thead tr th th Codigo e Descrição tbody - @receitas_stn.each do |receita_stn| tr.seleciona_pessoa data-id="#{receita_stn.id}" data-nome="#{receita_stn.try(:codigo_formatado_e_descricao)}" td button class="btn btn-default btn-sm mb-xs seleciona_receita" title="Seleciona" type="button" data-id="#{receita_stn.id}" data-nome="#{receita_stn.try(:codigo_formatado_e_descricao)}" span class="glyphicon glyphicon-ok-sign" td = receita_stn.try(:codigo_formatado_e_descricao) = will_paginate @receitas_stn, previous_label: "<", next_label: ">"