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

Version Path
msip-2.2.0.beta1 app/views/msip/modelos/_index_post_tabla.html.erb
msip-2.2.0.alfa3 app/views/msip/modelos/_index_post_tabla.html.erb
msip-2.2.0.alfa2 app/views/msip/modelos/_index_post_tabla.html.erb
msip-2.2a2 app/views/msip/modelos/_index_post_tabla.html.erb