Sha256: 1dbff0ed035ca6a75bfa552233b8163710f01e01f7e64dc3cc1cabd66a5c5222
Contents?: true
Size: 698 Bytes
Versions: 10
Compression:
Stored size: 698 Bytes
Contents
<% add_decidim_page_title(t("pages", scope: "decidim.admin.titles")) %> <div class="item_show__header"> <h1 class="item_show__header-title"> <%= t("pages", scope: "decidim.admin.titles") %> <% if allowed_to? :create, :static_page %> <%= link_to t("static_pages.new.create", scope: "decidim.admin"), [:new, :static_page], class: "button button__sm button__secondary expanded small new" %> <% end %> </h1> </div> <% @topics.each do |topic| %> <%= render partial: "topic", locals: { pages: topic.pages, topic: } %> <% end %> <% if @orphan_pages.any? %> <div class="mt-4"> <%= render partial: "topic", locals: { pages: @orphan_pages, topic: nil } %> </div> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems