Sha256: 441bfe1669b41a56f06ab82ff81ca37bdb82bd857fa0d5c0413fb04792c16f11

Contents?: true

Size: 631 Bytes

Versions: 2

Compression:

Stored size: 631 Bytes

Contents

<% title_column_or_id = title_column(current_resource_class) || "id" %>

<% if thead -%>
    <th><%= sort_link title_column_or_id %></th>

<% if has_timestamps?(current_resource_class) %>
    <th><%= sort_link :created_at %></th>
<% end %>

    <th><%= t('fullstack.admin.actions', :default => "Actions") %></th>
<% end -%>

<% if tbody -%>
    <td><%= link_to (content.send(title_column_or_id)), [:edit,  :admin, content]  %></td>

<% if has_timestamps?(current_resource_class) %>
    <td><%= l content.created_at.to_date, :format => :long %></td>
<% end %>

    <td><%= default_collection_actions_for(content) %></td>
<% end -%>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fullstack-admin-0.1.20 app/views/admin/base/_index.html.erb
fullstack-admin-0.1.19 app/views/admin/base/_index.html.erb