Sha256: 4c7de282be4b555f04b664d5ea421479af733080da705d54d3bdf3c423348412

Contents?: true

Size: 632 Bytes

Versions: 4

Compression:

Stored size: 632 Bytes

Contents

<div class="row">
  <div class="col-sm-4">
    <% if @registros && @registros.size > 5 && can?(:new, clase.constantize)%>
      <% 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 class="offset-sm-4 col-sm-4">
    <%= render partial: 'index_contadores', locals: {titulo: titulo, f: f} %>
    <%= render partial: 'index_encabezado_complemento' %>
  </div>
</div> <!-- row -->

Version data entries

4 entries across 4 versions & 1 rubygems

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