Sha256: 7868b94f6020a23d4bdc5823e0ac8085077eb5af595770c26be5e476806dabf5

Contents?: true

Size: 804 Bytes

Versions: 5

Compression:

Stored size: 804 Bytes

Contents

.panel-heading
  %i.icon-table.icon-large
  = t('tt.index', resource_name: <%= singular_table_name.capitalize %>.model_name.human)
  .panel-tools
    .btn-group
      %a.btn{href: '#'}
        %i.icon-wrench
        Settings
      %a.btn{href: '#'}
        %i.icon-filter
        Filters
      %a.btn{href: <%= index_helper %>_path, data: {toggle: 'toolbar-tooltip'}, title: 'Reload'}
        %i.icon-refresh
    .badge= @<%= plural_table_name %>.total_entries
.panel-body.filters
  = render 'filters'
%table.table
  %thead
    %tr
      %th #
<% for attribute in attributes -%>
      %th= sort_link(@search, :<%= attribute.name %>, t('activerecord.attributes.<%= singular_table_name %>.<%= attribute.name %>'))
<% end -%>
      %th.actions
        Actions
  %tbody
    = render @<%= plural_table_name %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hierapolis-rails-0.4.0 lib/generators/hierapolis/templates/haml/scaffold/_list.html.haml
hierapolis-rails-0.3.1 lib/generators/hierapolis/templates/haml/scaffold/_list.html.haml
hierapolis-rails-0.3.0 lib/generators/hierapolis/templates/haml/scaffold/_list.html.haml
hierapolis-rails-0.2.1 lib/generators/hierapolis/templates/haml/scaffold/_list.html.haml
hierapolis-rails-0.2.0 lib/generators/hierapolis/templates/haml/scaffold/_list.html.haml