Sha256: 1bea1789d70c13310d4de7b1f0a49a32e49b2dd11cd0f251e754ae274a27f770

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

<% if !defined?(relacion) %>
  Falta símbolo con relacíon en parametro <tt>relacion</tt>. e.g :proyectofinanciero_solicitud
  <% return %>
<% end %>
<div id="solicitud" class="panel-body table-responsive" >
  <table class="table table-bordered table-sm">
    <thead class="thead-light">
      <tr>
        <th>Solicitante</th>
        <th>Fecha</th>
        <th><%= Msip::Solicitud.human_attribute_name(:Solicitud) %></th>
        <th>Estado</th>
        <th>Destinatario(s)</th>
        <th>Acciones</th>
      </tr>
    </thead>
    <tbody id="filas_solicitud">
      <%= f.simple_fields_for relacion do |op| %>
        <%= render partial: 'msip/solicitudes/solicitud_campos', 
          locals: {f: op} %>
      <% end %>
    </tbody>
  </table>
  <div class="links">
    <%= link_to_add_association "Añadir #{Msip::Solicitud.human_attribute_name(:Solicitud)}", f,
      relacion, 
      partial: 'msip/solicitudes/solicitud_campos',
      "data-association-insertion-node" => "tbody#filas_solicitud",
      "data-association-insertion-method" => "append",
      class: 'btn-primary' %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
msip-2.2.0.alfa3 app/views/msip/solicitudes/_tabla_solicitudes.html.erb
msip-2.2.0.alfa2 app/views/msip/solicitudes/_tabla_solicitudes.html.erb
msip-2.2a2 app/views/msip/solicitudes/_tabla_solicitudes.html.erb