<%= t("admin.poll_officers.officer.name") %> <%= t("admin.poll_officers.officer.email") %> <%= t("admin.actions.actions") %>
<%= officer.name %> <%= officer.email %> <% if officer.persisted? %> <%= link_to t("admin.poll_officers.officer.delete"), admin_officer_path(officer), method: :delete, class: "button hollow alert expanded" %> <% else %> <%= link_to t("admin.poll_officers.officer.add"),{ controller: "admin/poll/officers", action: :create, user_id: officer.user_id }, method: :post, class: "button success expanded" %> <% end %>