Sha256: 7cc3079c838443e18013e80ec0d744ef2e3c83e28d7ee36bccb2505126aaec09

Contents?: true

Size: 869 Bytes

Versions: 6

Compression:

Stored size: 869 Bytes

Contents

<tr class="mdc-data-table__header-row"
  style="<%= "background-color: #{row.color};" if row.color %>">
  <%= erb :"components/table/checkbox", :locals => {:row=> row, :type=> 'header'} %>
  <% row.columns.each do |col| %>
    <th id="<%= col.id%>"
        class="mdc-data-table__header-cell
               <%= "v-align-#{col.align}" %>
               <%= 'v-actionable' if col.events %>"
        role="columnheader" scope="col"
        <%= erb :"components/event", :locals => {comp: col, events: col.events, parent_id: col.event_parent_id}%>
        style="<%= "background-color: #{col.color};" if col.color %>">
      <%= expand_text(col.value&.text) %>
      <%= erb :"components/render", :locals => {:components => col.components, :scope => nil} %>
    </th>
    <%= erb :"components/tooltip", :locals => {comp: col.tooltip, parent_id: col.id} %>
  <% end %>
</tr>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
voom-presenters-2.1.2 views/mdc/components/table/header.erb
voom-presenters-2.1.0 views/mdc/components/table/header.erb
voom-presenters-2.0.3 views/mdc/components/table/header.erb
voom-presenters-2.0.2 views/mdc/components/table/header.erb
voom-presenters-2.0.1 views/mdc/components/table/header.erb
voom-presenters-2.0.0 views/mdc/components/table/header.erb