<%= cell("decidim/announcement", newsletter_attention_callout_announcement, callout_class: "warning") %>
<%= t ".select_users" %>
<% if current_user.admin? %>
<%= f.check_box :send_to_all_users, label: t(".send_to_all_users") %>
<%= t ".all_users_help" %>
<% end %>
<%= f.check_box :send_to_participants, label: t(".send_to_participants") %>
<%= t ".participants_help" %>
<%= f.check_box :send_to_followers, label: t(".send_to_followers") %>
<%= t ".followers_help" %>
<%= t ".select_spaces" %>
<%= participatory_spaces_for_select f %>
<% if current_user.admin? %>
<%= t ".select_scopes" %>
<%= scopes_picker_filter f, :scope_ids %>
<%= t ".scopes_help" %>
<% end %>
<%= cell("decidim/announcement", newsletter_recipients_count_callout_announcement, callout_class: "warning") %>
<% if allowed_to?(:update, :newsletter, newsletter: @newsletter) && !@newsletter.sent? %>
<%= link_to t("actions.edit", scope: "decidim.admin"), [:edit, @newsletter], class: "button" %>
<% end %>
<% unless @newsletter.sent? %>
<%= f.submit t(".deliver"), class: "button alert", data: { confirm: t(".confirm_deliver") } %>
<% end %>