Sha256: 889370a58dd81aaf805341e27d982007e0e9d283e366a424acb57a399bb10e42

Contents?: true

Size: 930 Bytes

Versions: 1

Compression:

Stored size: 930 Bytes

Contents

<div class="flexirails-container">
  <div class="flexirails">
    <table class="<%= table_class %>">
      <thead>
        <tr>
          <%- view.columns.each do |column| -%>
            <th data-attribute="<%= column %>">
              <%- if view.sortable_columns.include?(column) %>
                <%= link_to view.t(column), url_batch_plumb({"pagination.order" => column, "pagination.direction" => view.next_pagination_direction(column)}) %>
              <%- else -%>
                <%= view.t(column) %>
              <%- end %>
            </th>
          <%- end -%>
        </tr>
      </thead>
      <tbody>
        <%- view.rows.each do |row| -%>
          <tr class="flexirow row-<%= row.id %>">
            <%- view.columns.each do |column| %>
              <td><%= view.render_column column, row, self %></td>
            <%- end -%>
          </tr>
        <%- end -%>
      </tbody>
    </table>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flexirails-0.1.0 app/views/flexirails/_container.html.erb