Sha256: d05fd3d8fc28b3c837e01413682d2e1d5f51ab89005a1d00f6699ff70db7a83d
Contents?: true
Size: 602 Bytes
Versions: 51
Compression:
Stored size: 602 Bytes
Contents
<% provide :title do %> <h2><%= link_to translated_attribute(@page.title), @page %></h2> <% end %> <div class="actions"> <hr> <% if allowed_to? :update, :static_page, static_page: @page %> <%= link_to t("decidim.admin.actions.edit"), ["edit", @page] %> <% end %> <% if allowed_to? :destroy, :static_page, static_page: @page %> <%= link_to t("decidim.admin.actions.destroy"), @page, method: :delete, class: "alert button", data: { confirm: t("decidim.admin.actions.confirm_destroy") } %> <% end %> </div> <dl> <%= display_for @page, :title, :slug, :content %> </dl>
Version data entries
51 entries across 51 versions & 1 rubygems