Sha256: 3c22d0ea882cbae0c4565a55c3ba273ef4ca1145123d12444c0600c174e5c4c0
Contents?: true
Size: 1.67 KB
Versions: 45
Compression:
Stored size: 1.67 KB
Contents
<div class="card"> <div class="card-divider"> <h2 class="card-title"> <%= t ".title" %> <%= link_to t("actions.new", scope: "decidim.admin", name: t("models.initiatives_type_scope.name", scope: "decidim.admin")), new_initiatives_type_initiatives_type_scope_path(initiative_type), class: "button tiny button--title" if allowed_to? :create, :initiative_type_scope %> </h2> </div> <div class="card-section"> <div class="row column"> <div class="table-scroll"> <table class="table-list"> <thead> <tr> <th><%= t("models.initiatives_type_scope.fields.scope", scope: "decidim.admin") %></th> <th class="text-right"> <%= t("models.initiatives_type_scope.fields.supports_required", scope: "decidim.admin") %> </th> <th class="actions"></th> </tr> </thead> <tbody> <% initiative_type.scopes.each do |s| %> <tr> <td><%= translated_attribute(s.scope_name) %></td> <td class="text-right"><%= s.supports_required %></td> <td class="table-list__actions"> <%= icon_link_to "pencil", decidim_admin_initiatives.edit_initiatives_type_initiatives_type_scope_path(initiative_type, s), t("actions.configure", scope: "decidim.admin"), class: "action-icon--new" if allowed_to? :edit, :initiative_type_scope, initiative_type_scope: s %> </td> </tr> <% end %> </tbody> </table> </div> </div> </div> </div>
Version data entries
45 entries across 45 versions & 1 rubygems