app/views/decidim/initiatives/admin/initiatives/index.html.erb in decidim-initiatives-0.15.2 vs app/views/decidim/initiatives/admin/initiatives/index.html.erb in decidim-initiatives-0.16.0
- old
+ new
@@ -48,19 +48,21 @@
<div class="card-section">
<div class="table-scroll">
<table class="table-list">
<thead>
<tr>
+ <th><%= t("models.initiatives.fields.id", scope: "decidim.admin") %></th>
<th><%= t("models.initiatives.fields.title", scope: "decidim.admin") %></th>
<th><%= t("models.initiatives.fields.state", scope: "decidim.admin") %></th>
<th><%= t("models.initiatives.fields.supports_count", scope: "decidim.admin") %></th>
<th><%= t("models.initiatives.fields.created_at", scope: "decidim.admin") %></th>
<th class="actions"><%= t ".actions_title" %></th>
</tr>
</thead>
<tbody>
<% @initiatives.each do |initiative| %>
<tr>
+ <td><%= initiative.id %></td>
<td>
<% if allowed_to? :edit, :initiative, initiative: initiative %>
<%= link_to translated_attribute(initiative.title),
decidim_admin_initiatives.edit_initiative_path(initiative.to_param) %>
<% else %>