Replace created at date to start and end date on admin legislation processes
This commit is contained in:
@@ -17,7 +17,8 @@
|
||||
<tr>
|
||||
<th><%= t("admin.legislation.processes.process.title") %></th>
|
||||
<th><%= t("admin.legislation.processes.process.status") %></th>
|
||||
<th><%= t("admin.legislation.processes.process.creation_date") %></th>
|
||||
<th class="text-center"><%= t("admin.legislation.processes.process.start_date") %></th>
|
||||
<th class="text-center"><%= t("admin.legislation.processes.process.end_date") %></th>
|
||||
<th class="text-center"><%= t("admin.legislation.processes.process.comments") %></th>
|
||||
<th><%= t("admin.actions.actions") %></th>
|
||||
</tr>
|
||||
@@ -26,11 +27,12 @@
|
||||
<tbody>
|
||||
<% @processes.each do |process| %>
|
||||
<tr id="<%= dom_id(process) %>">
|
||||
<td class="small-12 medium-6">
|
||||
<td class="small-12 medium-6 large-4">
|
||||
<%= link_to process.title, edit_admin_legislation_process_path(process) %>
|
||||
</td>
|
||||
<td><%= t("admin.legislation.processes.process.status_#{process.status}") %></td>
|
||||
<td><%= I18n.l process.created_at.to_date %></td>
|
||||
<td class="text-center"><%= I18n.l process.start_date %></td>
|
||||
<td class="text-center"><%= I18n.l process.end_date %></td>
|
||||
<td class="text-center"><%= process.total_comments %></td>
|
||||
<td>
|
||||
<%= link_to t("admin.legislation.processes.index.delete"), admin_legislation_process_path(process),
|
||||
|
||||
Reference in New Issue
Block a user