Sha256: 61b4a0f236760dc5bcffe4b150fea9a5b4232a077862acde1f41df8a76c9e954

Contents?: true

Size: 1.17 KB

Versions: 59

Compression:

Stored size: 1.17 KB

Contents

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

<% content_for(:toolbar) do %>
  <%= toolbar_button(
    icon: :plus,
    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]
  ) %>
  <%= toolbar_button(
    icon: :download,
    url: resource_url_proxy.url_for(action: 'index', format: 'csv', q: search_filter_params[:q], sort: params[:sort]),
    label: Alchemy.t(:download_csv),
    title: Alchemy.t(:download_csv),
    dialog: false,
    if_permitted_to: [:index, resource_model]
  ) %>
  <%= render 'alchemy/admin/partials/search_form' %>
<% end %>

<div id="archive_all" class="resources-table-wrapper<%= ' with_tag_filter' if resource_has_tags || resource_has_filters %>">
  <%= render 'alchemy/admin/resources/table_header' %>
  <%= render 'table' %>

  <% if resource_has_tags || resource_has_filters %>
    <div id="library_sidebar">
      <%= render 'filter_bar' if resource_has_filters %>
      <%= render 'tag_list' if resource_has_tags %>
    </div>
  <% end %>
</div>

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
alchemy_cms-6.0.6 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.5 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.4 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.3 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.2 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.1 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.pre.rc7 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.pre.rc6 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.pre.rc5 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.pre.rc4 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.pre.rc3 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.pre.rc2 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.pre.rc1 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.pre.b6 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.pre.b5 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.pre.b4 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.b3 app/views/alchemy/admin/resources/index.html.erb
alchemy_cms-6.0.0.b2 app/views/alchemy/admin/resources/index.html.erb