%= 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: } %><%= t("no_scopes", scope: "decidim.user_interests.show") %>
<% end %> <% end %> <% end %>