<%= decidim_modal id: model.id, class: "conference__speaker__modal" do %>

<%= icon "user-voice-line", class: "w-6 h-6 text-gray fill-current" %> <%= t("decidim.conferences.conference_speakers.index.speakers", count: 1) %>

<%= image_tag avatar_path, alt: "speaker-image" %>

<%= name %>

<% if position.presence %> <%= position %> <% end %> <% if affiliation.presence %> <%= affiliation %> <% end %>
<% if nickname.present? %> <%= link_to nickname, profile_path, class: "card-link" %> <% end %> <% if personal_url.presence %>
<%= icon "link", class: "w-3.5 h-3.5 text-gray fill-current" %> <%= personal_url %>
<% end %> <% if twitter_handle.presence %>
<%= icon "twitter-x-line", class: "w-3.5 h-3.5 text-gray fill-current" %> <%= twitter_handle %>
<% end %>
<% if short_bio.presence %>
<%= short_bio %>
<% end %> <% if meetings.present? %>
<%= t("conferences.conference_speaker.show.speaking_at", scope: "decidim") %>
    <% meetings.each do |meeting| %> <%= meeting_title meeting %> <% end %>
<% end %>
<% end %>