Sha256: 3d04e75de1706bd0a6514159be715dcd1348431b8c8d76ab59c136b0c91d08ec

Contents?: true

Size: 830 Bytes

Versions: 2

Compression:

Stored size: 830 Bytes

Contents

<tr class="feature-<%= feature.id %>">
  <td>
    <%= link_to decidim.feature_path(participatory_process, feature), target: "_blank" do %>
      <%= translated_attribute feature.name %>
    <% end %>
  </td>
  <td>
    <%= t "decidim.features.#{feature.manifest.name}.name" %>
  </td>
  <td class="actions">

    <% if feature.manifest.admin_engine %>
      <%= link_to manage_feature_path(participatory_process, feature), class: "button small" do %>
        <%= t "actions.configure", scope: "decidim.admin" %>
      <% end %>
    <% end %>

    <%= link_to t("actions.destroy", scope: "decidim.admin"), url_for(action: :destroy, id: feature, controller: "features"), method: :delete, class: "small alert button", data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } if can? :destroy, feature %>
  </td>
</tr>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
decidim-admin-0.0.1 app/views/decidim/admin/features/_feature.html.erb
decidim-0.0.1 decidim-admin/app/views/decidim/admin/features/_feature.html.erb