Sha256: d51363d1fcb443bc2003b5d3576181106de53bb60eb01d9f9119adb61f0bc1dd

Contents?: true

Size: 842 Bytes

Versions: 6

Compression:

Stored size: 842 Bytes

Contents

<% label_title = Alchemy.t("Create #{resource_name}", default: Alchemy.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', q: params[:q], sort: params[:sort]),
      label: Alchemy.t(:download_csv),
      title: Alchemy.t(:download_csv),
      dialog: false,
      loading_indicator: false,
      if_permitted_to: [:index, resource_model]
    }
  ]
) %>

<div id="archive_all" class="resources-table-wrapper">
  <%= resources_header %>
  <%= render 'table' %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
alchemy_cms-3.3.3 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.3.2 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.3.1 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.3.0 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.3.0.rc2 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-3.3.0.rc1 app/views/alchemy/admin/resources/index.html.erb