Sha256: 8568b2f4cda1e667efd202d36fade5234e75c10c316e9460234fbdb03bdd2ea0
Contents?: true
Size: 1.52 KB
Versions: 8
Compression:
Stored size: 1.52 KB
Contents
<% add_decidim_page_title(t("components.title", scope: "decidim.admin")) %> <div class="card"> <div class="item_show__header"> <h1 class="item_show__header-title"> <%= t("components.title", scope: "decidim.admin") %> <% if allowed_to?(:create, :component) %> <div class="relative"> <button class="button button__sm button__secondary button--title" data-toggle="add-component-dropdown"> <%= t "components.index.add", scope: "decidim.admin" %> <%= icon "arrow-down-s-line", class: "dropdown-filter-icon" %> </button> <div class="dropdown-pane" id="add-component-dropdown" data-dropdown data-auto-focus="true" data-close-on-click="true"> <ul class="vertical menu add-components font-normal"> <% @manifests.each do |manifest| %> <%= link_to new_component_path(type: manifest.name), class: manifest.name do %> <li> <%= t("#{manifest.name}.name", scope: "decidim.components") %> </li> <% end %> <% end %> </ul> </div> </div> <% end %> </h1> </div> <div class="table-scroll"> <table class="table-list"> <thead> <th><%= t(".headers.name") %></th> <th><%= t(".headers.type") %></th> <%= th_resource_scope_label(t(".headers.scope")) %> <th><%= t(".headers.actions") %></th> </thead> <tbody> <%= render partial: "component", collection: @components %> </tbody> </table> </div> </div>
Version data entries
8 entries across 8 versions & 1 rubygems