Sha256: b585cc72fcafe55485d955eb02b53fe80e0e96f6fd46bb25017bfca6188fd5ae

Contents?: true

Size: 790 Bytes

Versions: 10

Compression:

Stored size: 790 Bytes

Contents

<% label_title = _t("Create #{resource_name}", default: _t('Create')) %>

<% toolbar(
  buttons: [
    {
      icon: 'create',
      label: label_title,
      url: new_resource_path,
      title: label_title,
      hotkey: 'alt+n',
      dialog_options: {
        title: label_title,
        size: resource_window_size
      },
      if_permitted_to: [:create, resource_model]
    },
    {
      icon: 'download',
      url: resource_url_proxy.url_for(action: 'index', format: 'csv', query: params[:query], sort: params[:sort]),
      label: _t(:download_csv),
      title: _t(:download_csv),
      dialog: false,
      loading_indicator: false,
      if_permitted_to: [:index, resource_model]
    }
  ]
) %>

<div id="archive_all">
  <%= resources_header %>
  <%= render 'table' %>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-3.0.4 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.0.3 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.1.0.beta1 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.0.2 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.0.1 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.0.0 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.0.0.rc8 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.0.0.rc7 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.0.0.rc6 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.0.0.rc5 app/views/alchemy/admin/resources/index.html.erb