Sha256: 0fd23c10dd5b8b5d1ba71bb8c39e0cd71ed9683adec25270b0171a1bc8ae675b

Contents?: true

Size: 1.38 KB

Versions: 5

Compression:

Stored size: 1.38 KB

Contents

<%= render 'fae/shared/index_header', title: "#{@klass_humanized.pluralize}" %>


<div class="main_content-sections">
  <section class="main_content-section">
    <div class="content">
      <table class="main_content-sortable">
        <thead>
          <tr>
            <th class="main_content-sortable-handle-col"></th>
            <th>Name</th>
            <th class="-thumb">Image</th>
            <th class="-action-wide">Modified</th>
            <th class="-action-wide" data-sorter="false">On Stage</th>
            <th class="-action-wide" data-sorter="false">On Prod</th>
            <th class="-action" data-sorter="false"></th>
          </tr>
        </thead>
        <tbody>
          <% @items.each do |item| %>
            <tr id="<%= "#{@klass_singular}_#{item.id}" %>">
              <td class="main_content-sortable-handle">
                <span class="icon-sort"></span>
              </td>
              <td><%= link_to item.name, edit_admin_person_path(item.id) %></td>
              <td><%= image_tag item.image.asset.thumb.url if item.image.present? %></td>
              <td><%= fae_date_format item.updated_at %></td>
              <td><%= fae_toggle item, :on_stage %></td>
              <td><%= fae_toggle item, :on_prod %></td>
              <td><%= fae_delete_button item %></td>
            </tr>
          <% end %>
        </tbody>
      </table>
    </div>
  </section>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fae-rails-1.5.0 spec/dummy/app/views/admin/people/index.html.erb
fae-rails-1.4.1 spec/dummy/app/views/admin/people/index.html.erb
fae-rails-1.4.0 spec/dummy/app/views/admin/people/index.html.erb
fae-rails-1.3.1 spec/dummy/app/views/admin/people/index.html.erb
fae-rails-1.3.0 spec/dummy/app/views/admin/people/index.html.erb