<% add_decidim_page_title(t(".title")) %>

<%= t(".title") %> <%= link_to t("actions.new", scope: "decidim.votings.monitoring_committee_members"), new_voting_monitoring_committee_member_path(current_voting), class: "button button__sm button__secondary" if allowed_to? :create, :monitoring_committee_member, voting: current_voting %>

<% monitoring_committee_members.each do |monitoring_committee_member| %> <% end %>
<%= t("models.monitoring_committee_member.fields.name", scope: "decidim.votings.admin") %> <%= t("models.monitoring_committee_member.fields.email", scope: "decidim.votings.admin") %> <%= t("actions.title", scope: "decidim.votings.monitoring_committee_members") %>
<%= monitoring_committee_member.user.name %> <%= monitoring_committee_member.user.email %> <% if allowed_to? :delete, :monitoring_committee_member, voting: current_voting, monitoring_committee_member: monitoring_committee_member %> <%= icon_link_to "delete-bin-line", voting_monitoring_committee_member_path(current_voting, monitoring_committee_member), t("actions.destroy", scope: "decidim.votings.monitoring_committee_members"), method: :delete, class: "action-icon--remove", data: { confirm: t("actions.confirm_destroy", scope: "decidim.votings.monitoring_committee_members") } %> <% else %> <%= icon "delete-bin-line", class: "action-icon action-icon--disabled", role: "img", aria_label: t("actions.destroy", scope: "decidim.votings.monitoring_committee_members") %> <% end %>