Sha256: 29b4bbac866ee9be2e5ac3a246c6f457f3b3918a54876ef5d4cfc2301b971bdb

Contents?: true

Size: 555 Bytes

Versions: 21

Compression:

Stored size: 555 Bytes

Contents

<h3><%= translated_attribute(@category.name) %></h3>

<div class="actions">
  <hr />
  <%= link_to t("decidim.admin.actions.edit"), ["edit", participatory_space, @category] if allowed_to? :update, :category, category: @category %>
  <%= link_to t("decidim.admin.actions.destroy"), [participatory_space, @category], method: :delete, class: "alert button", data: { confirm: t("decidim.admin.actions.confirm_destroy") } if allowed_to? :destroy, :category, category: @category %>
</div>

<dl>
  <%= display_for @category,
    :name,
    :description %>
</dl>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
decidim-admin-0.12.0.pre app/views/decidim/admin/categories/show.html.erb