Sha256: fdbd9f8614d1a267888189fd0f1ab56f621bc9487b479212ac37698e474f7742
Contents?: true
Size: 580 Bytes
Versions: 4
Compression:
Stored size: 580 Bytes
Contents
<div class="row"> <div class="col-sm-5"> <% if @registros %> <%= will_paginate @registros, { param_name: :pagina , class: 'page-link' } %> <% end %> </div> <div class="col-sm-2"> <% if can?(:new, clase.constantize) && @registros %> <% rutaf = clase.pluralize.underscore + '/index_boton_nuevo' %> <% if lookup_context.find_all(rutaf, [], true).any? %> <%= render partial: rutaf, locals: {f: f} %> <% else %> <%= render partial: 'index_boton_nuevo', locals: {f: f} %> <% end %> <% end %> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems