Sha256: 43b9428d63b5094df882baec3952c2465f9078536b01dde57c49e5ffc1b31831

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

.block
  .secondary-navigation
    ul.wat-cf
      li.first.active = link_to t('admin-theme.list'), <%= controller_routing_path %>_path
      li = link_to t('admin-theme.new'), new_<%= singular_controller_routing_path %>_path

  .content
    h2.title #{t('admin-theme.all')} <%= plural_model_name %>
    .inner
      table.table
        tr
          th.first ID
          th = t('admin-theme.created_at')
          th = t('admin-theme.updated_at')
          th.last &nbsp;
        - @<%= plural_resource_name %>.each do |<%= resource_name %>|
          tr class=cycle('odd', 'even')
            td = <%= resource_name %>.id
            td = l <%= resource_name %>.created_at, :format => :'admin-theme'
            td = l <%= resource_name %>.updated_at, :format => :'admin-theme'
            td.last
              = link_to t('admin-theme.show'), <%= singular_controller_routing_path %>_path(<%= resource_name %>)
              '&nbsp;|
              = link_to t('admin-theme.edit'), edit_<%= singular_controller_routing_path %>_path(<%= resource_name %>)
              '&nbsp;|
              = link_to t('admin-theme.delete'), <%= singular_controller_routing_path %>_path(<%= resource_name %>), :method => :delete, :data => { :confirm => t('admin-theme.confirm') }

      .actions-bar.wat-cf
        .actions
<% if options.pagination %>
        = paginate(@<%= plural_resource_name %>, :theme => 'admin_theme')<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
admin-theme-1.1.0 lib/generators/admin_theme/resource/templates/slim/view_index.html.slim