Sha256: 9cdcedacf333451ef694f25d1ac8305423d91f238e7cfbecc3fb29de08a5c6f0
Contents?: true
Size: 968 Bytes
Versions: 1
Compression:
Stored size: 968 Bytes
Contents
.page-content-wrap = panel do |panel| = panel.header do = icon_link_to t('para.shared.add'), component.relation_path(model.model_name.singular_route_key, action: :new), icon: 'plus', class: 'btn btn-primary' if allow_adding_resource = render partial: find_partial_for(relation, :exports_menu), locals: { component: component, model: model } = panel.body do = render partial: find_partial_for(relation, :filters), locals: { attributes: attributes } - if resources.length > 0 = panel.body class: '' do = table_for(resources: resources, model: model, component: component, attributes: attributes) - else = panel.body do = alert class: 'no-margin-bottom', dismissable: false do = filtered?(attributes) ? t('para.list.no_results') : t('para.list.empty') - if resources.total_count > resources.length = panel.footer do = paginate resources, theme: Para.config.pagination_theme
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
para-0.4.0 | app/views/para/admin/resources/_list.html.haml |