Sha256: bddf8b8c0ddc4f92336a2aade4f64d340601e3a4f17cc1d4f67d0f1080d17030
Contents?: true
Size: 1.26 KB
Versions: 36
Compression:
Stored size: 1.26 KB
Contents
<div class="card"> <div class="card-divider"> <h2 class="card-title"> <%= t("components.title", scope: "decidim.admin") %> <% if allowed_to?(:create, :component) %> <button class="dropdown tiny button button--title" data-toggle="add-component-dropdown"><%= t "components.index.add", scope: "decidim.admin" %></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"> <% @manifests.each do |manifest| %> <li><%= link_to t("#{manifest.name}.name", scope: "decidim.components"), new_component_path(type: manifest.name), class: manifest.name %></li> <% end %> </ul> </div> <% end %> </h2> </div> <div class="card-section"> <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> </div>
Version data entries
36 entries across 36 versions & 1 rubygems