<%= render layout: "layouts/decidim/shared/layout_user_profile" do %> <% add_decidim_page_title(t("my_interests", scope: "layouts.decidim.user_profile")) %> <% content_for(:subtitle) { t("my_interests", scope: "layouts.decidim.user_profile") } %> <%= t("my_interests", scope: "decidim.user_interests.show") %>

<%= t("select_your_interests", scope: "decidim.user_interests.show") %>

<%= form_for(@user_interests, url: user_interests_path, method: :put) do |f| %> <% if @user_interests.scopes.any? %> <%= render partial: "scopes", locals: { scopes: @user_interests.scopes, f: } %>
<%= f.submit t("update_my_interests", scope:"decidim.user_interests.show"), class: "button button__sm md:button__lg button__secondary mr-auto !ml-0" %>
<% else %>

<%= t("no_scopes", scope: "decidim.user_interests.show") %>

<% end %> <% end %> <% end %>