<%= speaker_presenter.name %>
|
<%= translated_attribute(speaker.position) %>
|
<%= translated_attribute(speaker.affiliation) %>
|
<% if allowed_to? :update, :conference_speaker, speaker: speaker %>
<%= icon_link_to "pencil", edit_conference_speaker_path(current_conference, speaker), t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit" %>
<% end %>
<% if allowed_to? :destroy, :conference_speaker, speaker: speaker %>
<%= icon_link_to "circle-x", conference_speaker_path(current_conference, speaker), t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %>
<% end %>
|
<% end %>