Sha256: 23c8cc15fd5d80e4ef892cdfcd6b8bae30bb6e6a51584df64a7e9bec9425d94c

Contents?: true

Size: 808 Bytes

Versions: 2

Compression:

Stored size: 808 Bytes

Contents

<span class="imports button button__sm button__secondary" data-toggle="import-dropdown">
  <%= t "actions.import", scope: "decidim.admin" %>
  <%= icon "arrow-down-s-line", class: "dropdown-filter-icon" %>
</span>
<div class="dropdown-pane" id="import-dropdown" data-dropdown data-position=bottom data-alignment=right data-auto-focus="true" data-close-on-click="true">
  <ul class="vertical menu add-components">
    <% if custom %>
      <%= yield %>
    <% else %>
      <% component.manifest.import_manifests.each do |import_manifest| %>
        <li class="imports--file imports--<%= import_manifest.name %>">
          <%= link_to import_manifest.message(:label, self), admin_imports_path(component, resource_id:, name: import_manifest.name) %>
        </li>
      <% end %>
    <% end %>
  </ul>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-admin-0.29.0.rc2 app/views/decidim/admin/imports/_dropdown.html.erb
decidim-admin-0.29.0.rc1 app/views/decidim/admin/imports/_dropdown.html.erb