Sha256: 4bb643884f764604a79c8b2d5394c85c019fbfa559a93415bae63749007f2575
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 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><%= t(".headers.actions") %></th> </thead> <tbody> <%= render partial: "component", collection: @components %> </tbody> </table> </div> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decidim-admin-0.22.0 | app/views/decidim/admin/components/index.html.erb |
decidim-admin-0.21.0 | app/views/decidim/admin/components/index.html.erb |