Sha256: 45eeaf71f524510a51a6d7f751151af12d57ae686bb0abb443b27799e9ae8d76

Contents?: true

Size: 513 Bytes

Versions: 2

Compression:

Stored size: 513 Bytes

Contents

<%
  # headmin/table/body/row
  #
  # ==== Options
  # * <tt>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 if block_given? %>
</tr>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
headmin-0.2.9 app/views/headmin/table/body/_row.html.erb
headmin-0.2.8 app/views/headmin/table/body/_row.html.erb