|
<%= link_to poll.name, admin_poll_path(poll) %>
|
<%= l poll.starts_at.to_date %>
|
<%= l poll.ends_at.to_date %>
|
<%= link_to t("admin.actions.edit"),
edit_admin_poll_path(poll),
class: "button hollow" %>
<%= link_to t("admin.actions.delete"),
admin_poll_path(poll),
method: :delete,
"data-confirm": t("admin.polls.destroy.alert"),
class: "button hollow alert" %>
<%= link_to t("admin.actions.configure"),
admin_poll_path(poll),
class: "button hollow " %>
|