Sha256: 872bcbb5bb4a7e96793173cb1854798bbc7149d05658728fa28344d6bbd6bf5e
Contents?: true
Size: 1.33 KB
Versions: 9
Compression:
Stored size: 1.33 KB
Contents
<% add_decidim_page_title(t("components.title", scope: "decidim.admin")) %> <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
9 entries across 9 versions & 1 rubygems