Sha256: b10c66c33644d33ec479553fd7b7f33b2e0ce0154f439d5b54db7cde7752d0b9

Contents?: true

Size: 494 Bytes

Versions: 8

Compression:

Stored size: 494 Bytes

Contents

<%
  # headmin/table/body/row
  #
  # ==== Options
  # * +class</tt> - Custom class names to add to the table row
  #
  # ==== Examples
  #   <%= render 'headmin/table/body/row' do %#>
  #     <%= render 'headmin/table/body/id', value: page.id %#>
  #     <%= render 'headmin/table/body/string', value: page.title %#>
  #   <% end %#>

  class_names = local_assigns.has_key?(:class) ? local_assigns[:class] : false
%>
<tr class="<%= class_names %>" data-table-target="row">
  <%= yield %>
</tr>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
headmin-0.5.2 app/views/headmin/table/body/_row.html.erb
headmin-0.4.2 app/views/headmin/table/body/_row.html.erb
headmin-0.4.1 app/views/headmin/table/body/_row.html.erb
headmin-0.4.0 app/views/headmin/table/body/_row.html.erb
headmin-0.3.4 app/views/headmin/table/body/_row.html.erb
headmin-0.3.3 app/views/headmin/table/body/_row.html.erb
headmin-0.3.2 app/views/headmin/table/body/_row.html.erb
headmin-0.3.1 app/views/headmin/table/body/_row.html.erb