Skip to content

Commit

Permalink
Merge branch 'fix/process_groups_hide_scope' into 'main'
Browse files Browse the repository at this point in the history
fix: label in avoid_index admin

See merge request decidim/decidim-module-geo!169
  • Loading branch information
Hadrien Froger committed Dec 11, 2024
2 parents 06a7a18 + 04eb556 commit c6cc9b3
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
else
"decidim_geo_avoid_index"
end
space_name = space.title[locale.to_s]
space_name = space.participatory_process_group.title[locale.to_s] if has_process_group
%>
<%= form.check_box :decidim_geo_avoid_index, label: t(label, scope: "activemodel.attributes.component", space_name: space.title[locale.to_s]) %>
<%= form.check_box :decidim_geo_avoid_index, label: t(label, scope: "activemodel.attributes.component", space_name: space_name) %>
<p class="help-text" style="transform: translateY(-0.5rem)"><%= t("geo_avoid_index", scope: "decidim.admin.components.form") %></p>
</div>
<% else %>
Expand Down

0 comments on commit c6cc9b3

Please sign in to comment.