Sha256: 92e2009215cd74e6610422ed51886f961e33ff17f78278b6f90c382f46769911
Contents?: true
Size: 1.49 KB
Versions: 24
Compression:
Stored size: 1.49 KB
Contents
<div class="card"> <div class="card-divider"> <h2 class="card-title"><%= t "decidim.admin.titles.scopes" %> <%= link_to t("actions.add", scope: "decidim.admin"), ['new', 'scope'], class: 'button tiny button--title' %></h2> </div> <div class="card-section"> <div class="table-scroll"> <table class="table-list"> <thead> <tr> <th><%= t("models.scope.fields.name", scope: "decidim.admin") %></th> <th><%= t("models.scope.fields.created_at", scope: "decidim.admin") %></th> <th></th> </tr> </thead> <tbody> <% @scopes.each do |scope| %> <tr> <td> <%= scope.name %><br /> </td> <td> <%= l scope.created_at, format: :short %> </td> <td class="table-list__actions"> <% if can? :update, scope %> <%= icon_link_to "pencil", ['edit', scope], t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit", method: :get, data: {} %> <% end %> <% if can? :destroy, scope %> <%= icon_link_to "circle-x", scope, t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %> <% end %> </td> </tr> <% end %> </tbody> </table> </div> </div> </div>
Version data entries
24 entries across 24 versions & 2 rubygems