decidim-admin 0.27.3 → 0.27.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/commands/decidim/admin/block_user.rb +7 -2
- data/app/controllers/concerns/decidim/admin/needs_admin_tos_accepted.rb +78 -0
- data/app/controllers/concerns/decidim/moderations/admin/filterable.rb +4 -0
- data/app/controllers/decidim/admin/admin_terms_controller.rb +1 -1
- data/app/controllers/decidim/admin/application_controller.rb +1 -0
- data/app/controllers/decidim/admin/static_page_topics_controller.rb +1 -3
- data/app/forms/decidim/admin/organization_form.rb +2 -2
- data/app/packs/stylesheets/decidim/admin/_variables.scss +1 -1
- data/app/views/decidim/admin/area_types/edit.html.erb +1 -0
- data/app/views/decidim/admin/area_types/index.html.erb +1 -0
- data/app/views/decidim/admin/area_types/new.html.erb +1 -0
- data/app/views/decidim/admin/areas/edit.html.erb +1 -0
- data/app/views/decidim/admin/areas/index.html.erb +1 -0
- data/app/views/decidim/admin/areas/new.html.erb +1 -0
- data/app/views/decidim/admin/attachment_collections/edit.html.erb +1 -0
- data/app/views/decidim/admin/attachment_collections/index.html.erb +1 -0
- data/app/views/decidim/admin/attachment_collections/new.html.erb +1 -0
- data/app/views/decidim/admin/attachments/edit.html.erb +1 -0
- data/app/views/decidim/admin/attachments/index.html.erb +1 -0
- data/app/views/decidim/admin/attachments/new.html.erb +1 -0
- data/app/views/decidim/admin/authorization_workflows/index.html.erb +1 -0
- data/app/views/decidim/admin/categories/edit.html.erb +1 -0
- data/app/views/decidim/admin/categories/index.html.erb +1 -0
- data/app/views/decidim/admin/categories/new.html.erb +1 -0
- data/app/views/decidim/admin/components/_actions.html.erb +43 -0
- data/app/views/decidim/admin/components/_component.html.erb +3 -41
- data/app/views/decidim/admin/components/edit.html.erb +1 -0
- data/app/views/decidim/admin/components/index.html.erb +1 -0
- data/app/views/decidim/admin/components/new.html.erb +1 -1
- data/app/views/decidim/admin/conflicts/index.html.erb +1 -0
- data/app/views/decidim/admin/help_sections/show.erb +1 -0
- data/app/views/decidim/admin/impersonatable_users/index.html.erb +1 -0
- data/app/views/decidim/admin/impersonations/new.html.erb +1 -0
- data/app/views/decidim/admin/logs/index.html.erb +1 -0
- data/app/views/decidim/admin/moderated_users/index.html.erb +1 -0
- data/app/views/decidim/admin/moderations/index.html.erb +1 -0
- data/app/views/decidim/admin/newsletter_templates/index.html.erb +1 -0
- data/app/views/decidim/admin/newsletter_templates/show.html.erb +1 -0
- data/app/views/decidim/admin/newsletters/index.html.erb +1 -0
- data/app/views/decidim/admin/newsletters/new.html.erb +1 -0
- data/app/views/decidim/admin/newsletters/show.html.erb +1 -0
- data/app/views/decidim/admin/officializations/index.html.erb +1 -0
- data/app/views/decidim/admin/officializations/new.html.erb +1 -0
- data/app/views/decidim/admin/organization/edit.html.erb +1 -0
- data/app/views/decidim/admin/organization_appearance/edit.html.erb +1 -0
- data/app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb +1 -0
- data/app/views/decidim/admin/scope_types/edit.html.erb +1 -0
- data/app/views/decidim/admin/scope_types/index.html.erb +1 -0
- data/app/views/decidim/admin/scope_types/new.html.erb +1 -0
- data/app/views/decidim/admin/scopes/edit.html.erb +1 -0
- data/app/views/decidim/admin/scopes/index.html.erb +1 -0
- data/app/views/decidim/admin/scopes/new.html.erb +1 -0
- data/app/views/decidim/admin/shared/landing_page_content_blocks/edit.html.erb +1 -0
- data/app/views/decidim/admin/static_page_topics/edit.html.erb +1 -0
- data/app/views/decidim/admin/static_page_topics/new.html.erb +1 -0
- data/app/views/decidim/admin/static_pages/edit.html.erb +1 -0
- data/app/views/decidim/admin/static_pages/index.html.erb +1 -0
- data/app/views/decidim/admin/static_pages/new.html.erb +1 -0
- data/app/views/decidim/admin/user_groups/index.html.erb +1 -0
- data/app/views/decidim/admin/user_groups_csv_verifications/new.html.erb +1 -0
- data/app/views/decidim/admin/users/index.html.erb +1 -0
- data/app/views/decidim/admin/users/new.html.erb +1 -0
- data/app/views/layouts/decidim/admin/global_moderations.html.erb +1 -0
- data/config/environment.rb +3 -0
- data/config/locales/ar.yml +8 -13
- data/config/locales/bg.yml +0 -1
- data/config/locales/ca.yml +12 -9
- data/config/locales/cs.yml +9 -6
- data/config/locales/de.yml +34 -27
- data/config/locales/el.yml +82 -12
- data/config/locales/en.yml +6 -3
- data/config/locales/es-MX.yml +12 -9
- data/config/locales/es-PY.yml +12 -9
- data/config/locales/es.yml +12 -9
- data/config/locales/eu.yml +317 -286
- data/config/locales/fi-plain.yml +8 -5
- data/config/locales/fi.yml +9 -6
- data/config/locales/fr-CA.yml +12 -9
- data/config/locales/fr.yml +15 -12
- data/config/locales/ga-IE.yml +0 -1
- data/config/locales/gl.yml +2 -13
- data/config/locales/hu.yml +2 -12
- data/config/locales/id-ID.yml +3 -8
- data/config/locales/is-IS.yml +1 -3
- data/config/locales/it.yml +0 -11
- data/config/locales/ja.yml +13 -10
- data/config/locales/kaa.yml +216 -0
- data/config/locales/lb.yml +2 -13
- data/config/locales/lt.yml +31 -13
- data/config/locales/lv.yml +0 -10
- data/config/locales/nl.yml +2 -13
- data/config/locales/no.yml +0 -11
- data/config/locales/pl.yml +31 -6
- data/config/locales/pt-BR.yml +110 -11
- data/config/locales/pt.yml +3 -14
- data/config/locales/ro-RO.yml +2 -13
- data/config/locales/ru.yml +3 -9
- data/config/locales/sk.yml +0 -11
- data/config/locales/sl.yml +0 -1
- data/config/locales/sq-AL.yml +66 -0
- data/config/locales/sr-CS.yml +10 -6
- data/config/locales/sv.yml +1 -11
- data/config/locales/th-TH.yml +1 -0
- data/config/locales/tr-TR.yml +8 -14
- data/config/locales/uk.yml +1 -9
- data/config/locales/zh-CN.yml +0 -11
- data/config/locales/zh-TW.yml +0 -11
- data/config/routes.rb +2 -0
- data/lib/decidim/admin/form_builder.rb +1 -2
- data/lib/decidim/admin/test/admin_participatory_space_access_examples.rb +49 -0
- data/lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb +9 -0
- data/lib/decidim/admin/test.rb +1 -0
- data/lib/decidim/admin/version.rb +1 -1
- metadata +25 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff93ac8455dc2e0c83ea885cffd0167c733c99ef4aa4ecf87c804865274a2fb1
|
4
|
+
data.tar.gz: effea866bfcf0e7eeb60917547ae95fb4f880f4e7c6afd877b18a66f28c5a9d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e907b4a9858aaa67f5815458c995f85546643d29c79ea9b92ee17bac1d5f621da646c7c23a887cba48114907dee74f5712abe80f207b7ec96e50a6c9f09d7334
|
7
|
+
data.tar.gz: 8aab3aa06c560cc2f7b958f188a2f89e7809f66e9e648517b3c54b6df70c84aae10e52305d6e22c9e8f7966b38512a0bedfc7520c4093126cb0e049b4f455597
|
@@ -20,8 +20,9 @@ module Decidim
|
|
20
20
|
return broadcast(:invalid) unless form.valid?
|
21
21
|
|
22
22
|
transaction do
|
23
|
-
|
23
|
+
find_or_create_moderation!
|
24
24
|
register_justification!
|
25
|
+
block!
|
25
26
|
notify_user!
|
26
27
|
end
|
27
28
|
|
@@ -32,6 +33,10 @@ module Decidim
|
|
32
33
|
|
33
34
|
attr_reader :form
|
34
35
|
|
36
|
+
def find_or_create_moderation!
|
37
|
+
Decidim::UserModeration.create_or_find_by!(user: form.user)
|
38
|
+
end
|
39
|
+
|
35
40
|
def register_justification!
|
36
41
|
@current_blocking = UserBlock.create!(
|
37
42
|
justification: form.justification,
|
@@ -65,7 +70,7 @@ module Decidim
|
|
65
70
|
) do
|
66
71
|
form.user.blocked = true
|
67
72
|
form.user.blocked_at = Time.current
|
68
|
-
form.user.
|
73
|
+
form.user.block_id = @current_blocking.id
|
69
74
|
form.user.extended_data["user_name"] = form.user.name
|
70
75
|
form.user.name = "Blocked user"
|
71
76
|
form.user.save!
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Decidim
|
4
|
+
module Admin
|
5
|
+
# Shared behaviour for signed_in admins that require the latest TOS accepted
|
6
|
+
module NeedsAdminTosAccepted
|
7
|
+
extend ActiveSupport::Concern
|
8
|
+
|
9
|
+
included do
|
10
|
+
before_action :tos_accepted_by_admin
|
11
|
+
end
|
12
|
+
|
13
|
+
private
|
14
|
+
|
15
|
+
def tos_accepted_by_admin
|
16
|
+
return unless request.format.html?
|
17
|
+
return unless current_user
|
18
|
+
return unless user_has_any_role?
|
19
|
+
return if current_user.admin_terms_accepted?
|
20
|
+
return if permitted_paths?
|
21
|
+
|
22
|
+
store_location_for(
|
23
|
+
current_user,
|
24
|
+
request.path
|
25
|
+
)
|
26
|
+
redirect_to admin_tos_path
|
27
|
+
end
|
28
|
+
|
29
|
+
def permitted_paths?
|
30
|
+
# ensure that path with or without query string pass
|
31
|
+
permitted_paths.find { |el| el.split("?").first == request.path }
|
32
|
+
end
|
33
|
+
|
34
|
+
def permitted_paths
|
35
|
+
[admin_tos_path, decidim_admin.admin_terms_accept_path]
|
36
|
+
end
|
37
|
+
|
38
|
+
def admin_tos_path
|
39
|
+
decidim_admin.admin_terms_show_path
|
40
|
+
end
|
41
|
+
|
42
|
+
def user_has_any_role?
|
43
|
+
return true if current_user.admin
|
44
|
+
return true if current_user.roles.any?
|
45
|
+
return true if participatory_process_user_role?
|
46
|
+
return true if assembly_user_role?
|
47
|
+
return true if conference_user_role?
|
48
|
+
return true if voting_monitoring_commitee_member?
|
49
|
+
|
50
|
+
false
|
51
|
+
end
|
52
|
+
|
53
|
+
def participatory_process_user_role?
|
54
|
+
return false unless Decidim.module_installed?(:participatory_processes)
|
55
|
+
|
56
|
+
true if Decidim::ParticipatoryProcessUserRole.exists?(user: current_user)
|
57
|
+
end
|
58
|
+
|
59
|
+
def assembly_user_role?
|
60
|
+
return false unless Decidim.module_installed?(:assemblies)
|
61
|
+
|
62
|
+
true if Decidim::AssemblyUserRole.exists?(user: current_user)
|
63
|
+
end
|
64
|
+
|
65
|
+
def conference_user_role?
|
66
|
+
return false unless Decidim.module_installed?(:conferences)
|
67
|
+
|
68
|
+
true if Decidim::ConferenceUserRole.exists?(user: current_user)
|
69
|
+
end
|
70
|
+
|
71
|
+
def voting_monitoring_commitee_member?
|
72
|
+
return false unless Decidim.module_installed?(:elections)
|
73
|
+
|
74
|
+
true if Decidim::Votings::MonitoringCommitteeMember.exists?(user: current_user)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -9,7 +9,7 @@ module Decidim
|
|
9
9
|
current_user.admin_terms_accepted_at = Time.current
|
10
10
|
if current_user.save!
|
11
11
|
flash[:notice] = t("accept.success", scope: "decidim.admin.admin_terms_of_use")
|
12
|
-
redirect_to decidim_admin.root_path
|
12
|
+
redirect_to stored_location_for(current_user) || decidim_admin.root_path
|
13
13
|
else
|
14
14
|
flash[:alert] = t("accept.error", scope: "decidim.admin.admin_terms_of_use")
|
15
15
|
redirect_to decidim_admin.admin_terms_show_path
|
@@ -21,7 +21,7 @@ module Decidim
|
|
21
21
|
attribute :default_locale, String
|
22
22
|
attribute :badges_enabled, Boolean
|
23
23
|
attribute :user_groups_enabled, Boolean
|
24
|
-
attribute :comments_max_length, Integer
|
24
|
+
attribute :comments_max_length, Integer, default: 0
|
25
25
|
attribute :rich_text_editor_in_public_views, Boolean
|
26
26
|
attribute :enable_machine_translations, Boolean
|
27
27
|
attribute :machine_translation_display_priority, String
|
@@ -43,7 +43,7 @@ module Decidim
|
|
43
43
|
validates :default_locale, :reference_prefix, presence: true
|
44
44
|
validates :default_locale, inclusion: { in: :available_locales }
|
45
45
|
validates :admin_terms_of_use_body, translatable_presence: true
|
46
|
-
validates :comments_max_length, numericality: {
|
46
|
+
validates :comments_max_length, presence: true, numericality: { greater_than_or_equal_to: 0 }
|
47
47
|
validates :machine_translation_display_priority,
|
48
48
|
inclusion: { in: Decidim::Organization::AVAILABLE_MACHINE_TRANSLATION_DISPLAY_PRIORITIES },
|
49
49
|
if: :machine_translation_enabled?
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<% add_decidim_page_title(t("attachment_collections.edit.title", scope: "decidim.admin")) %>
|
1
2
|
<%= decidim_form_for(@form, url: url_for([@attachment_collection.collection_for, @attachment_collection]), html: { class: "form edit_attachment_collection" }) do |f| %>
|
2
3
|
<%= render partial: "decidim/admin/attachment_collections/form", object: f, locals: { title: t("attachment_collections.edit.title", scope: "decidim.admin") } %>
|
3
4
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<% add_decidim_page_title(t("attachment_collections.new.title", scope: "decidim.admin")) %>
|
1
2
|
<%= decidim_form_for(@form, url: url_for([collection_for, @form]), html: { class: "form new_attachment_collection" }) do |f| %>
|
2
3
|
<%= render partial: "decidim/admin/attachment_collections/form", object: f, locals: { title: t("attachment_collections.new.title", scope: "decidim.admin") } %>
|
3
4
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<% add_decidim_page_title(t(".title")) %>
|
1
2
|
<%= decidim_form_for(@form, url: url_for([@attachment.attached_to, @attachment]), html: { class: "form edit_attachment" }) do |f| %>
|
2
3
|
<%= render partial: "decidim/admin/attachments/form", object: f, locals: { title: t(".title") } %>
|
3
4
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<% add_decidim_page_title(t("categories.new.title", scope: "decidim.admin")) %>
|
1
2
|
<%= decidim_form_for(@form, url: categories_path(current_participatory_space), html: { class: "form new_category" }) do |f| %>
|
2
3
|
<%= render partial: "form", object: f, locals: { title: t("categories.new.title", scope: "decidim.admin") } %>
|
3
4
|
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<% if component.manifest.admin_engine %>
|
2
|
+
<%= icon_link_to "pencil", manage_component_path(component), t("actions.manage", scope: "decidim.admin"), class: "action-icon--manage" %>
|
3
|
+
<% else %>
|
4
|
+
<span class="action-space icon"></span>
|
5
|
+
<% end %>
|
6
|
+
|
7
|
+
<% if allowed_to?(:update, :component, component: component) %>
|
8
|
+
<% if component.published? %>
|
9
|
+
<%= icon_link_to "x", url_for(action: :unpublish, id: component, controller: "components"), t("actions.unpublish", scope: "decidim.admin"), class: "action-icon--unpublish", method: :put %>
|
10
|
+
<% else %>
|
11
|
+
<%= icon_link_to "check", url_for(action: :publish, id: component, controller: "components"), t("actions.publish", scope: "decidim.admin"), class: "action-icon--publish", method: :put %>
|
12
|
+
<% end %>
|
13
|
+
<% else %>
|
14
|
+
<span class="action-space icon"></span>
|
15
|
+
<% end %>
|
16
|
+
|
17
|
+
<% if allowed_to? :update, :component, component: component %>
|
18
|
+
<%= icon_link_to "cog", url_for(action: :edit, id: component, controller: "components"), t("actions.configure", scope: "decidim.admin"), class: "action-icon--configure" %>
|
19
|
+
<% else %>
|
20
|
+
<span class="action-space icon"></span>
|
21
|
+
<% end %>
|
22
|
+
|
23
|
+
<% if allowed_to? :update, :component, component: component %>
|
24
|
+
<% if component.manifest.actions.empty? %>
|
25
|
+
<%= icon "key", class: "action-icon action-icon--disabled" %>
|
26
|
+
<% else %>
|
27
|
+
<%= icon_link_to "key", url_for(action: :edit, component_id: component, controller: "component_permissions"), t("actions.permissions", scope: "decidim.admin"), class: "action-icon--permissions" %>
|
28
|
+
<% end %>
|
29
|
+
<% else %>
|
30
|
+
<span class="action-space icon"></span>
|
31
|
+
<% end %>
|
32
|
+
|
33
|
+
<% if allowed_to? :share, :component, component: component %>
|
34
|
+
<%= icon_link_to "share", url_for(action: :share, id: component, controller: "components"), t("actions.share", scope: "decidim.admin"), class: "action-icon--share", target: "_blank" %>
|
35
|
+
<% else %>
|
36
|
+
<span class="action-space icon"></span>
|
37
|
+
<% end %>
|
38
|
+
|
39
|
+
<% if allowed_to? :destroy, :component, component: component %>
|
40
|
+
<%= icon_link_to "circle-x", url_for(action: :destroy, id: component, controller: "components"), t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete %>
|
41
|
+
<% else %>
|
42
|
+
<span class="action-space icon"></span>
|
43
|
+
<% end %>
|
@@ -10,48 +10,10 @@
|
|
10
10
|
</td>
|
11
11
|
<%= td_resource_scope_for(component.scope) %>
|
12
12
|
<td class="table-list__actions">
|
13
|
-
<% if component.
|
14
|
-
<%=
|
13
|
+
<% if lookup_context.find_all("decidim/#{component.manifest_name}/admin/component/_actions").any? %>
|
14
|
+
<%= render partial: "decidim/#{component.manifest_name}/admin/component/actions", locals: { component: component } %>
|
15
15
|
<% else %>
|
16
|
-
|
17
|
-
<% end %>
|
18
|
-
|
19
|
-
<% if allowed_to?(:update, :component, component: component) %>
|
20
|
-
<% if component.published? %>
|
21
|
-
<%= icon_link_to "x", url_for(action: :unpublish, id: component, controller: "components"), t("actions.unpublish", scope: "decidim.admin"), class: "action-icon--unpublish", method: :put %>
|
22
|
-
<% else %>
|
23
|
-
<%= icon_link_to "check", url_for(action: :publish, id: component, controller: "components"), t("actions.publish", scope: "decidim.admin"), class: "action-icon--publish", method: :put %>
|
24
|
-
<% end %>
|
25
|
-
<% else %>
|
26
|
-
<span class="action-space icon"></span>
|
27
|
-
<% end %>
|
28
|
-
|
29
|
-
<% if allowed_to? :update, :component, component: component %>
|
30
|
-
<%= icon_link_to "cog", url_for(action: :edit, id: component, controller: "components"), t("actions.configure", scope: "decidim.admin"), class: "action-icon--configure" %>
|
31
|
-
<% else %>
|
32
|
-
<span class="action-space icon"></span>
|
33
|
-
<% end %>
|
34
|
-
|
35
|
-
<% if allowed_to? :update, :component, component: component %>
|
36
|
-
<% if component.manifest.actions.empty? %>
|
37
|
-
<%= icon "key", class: "action-icon action-icon--disabled" %>
|
38
|
-
<% else %>
|
39
|
-
<%= icon_link_to "key", url_for(action: :edit, component_id: component, controller: "component_permissions"), t("actions.permissions", scope: "decidim.admin"), class: "action-icon--permissions" %>
|
40
|
-
<% end %>
|
41
|
-
<% else %>
|
42
|
-
<span class="action-space icon"></span>
|
43
|
-
<% end %>
|
44
|
-
|
45
|
-
<% if allowed_to? :share, :component, component: component %>
|
46
|
-
<%= icon_link_to "share", url_for(action: :share, id: component, controller: "components"), t("actions.share", scope: "decidim.admin"), class: "action-icon--share", target: "_blank" %>
|
47
|
-
<% else %>
|
48
|
-
<span class="action-space icon"></span>
|
49
|
-
<% end %>
|
50
|
-
|
51
|
-
<% if allowed_to? :destroy, :component, component: component %>
|
52
|
-
<%= icon_link_to "circle-x", url_for(action: :destroy, id: component, controller: "components"), t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete %>
|
53
|
-
<% else %>
|
54
|
-
<span class="action-space icon"></span>
|
16
|
+
<%= render partial: "actions", locals: { component: component } %>
|
55
17
|
<% end %>
|
56
18
|
</td>
|
57
19
|
</tr>
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<% add_decidim_page_title(t(".title", name: t("#{@component.manifest.name}.name", scope: "decidim.components"))) %>
|
1
2
|
<%= decidim_form_for([current_participatory_space, @form], url: component_path(current_participatory_space, @component), method: "put", html: { class: "form edit_component" }) do |form| %>
|
2
3
|
<%= render partial: "form", object: form, locals: { component: @component, title: t(".title", name: t("#{@component.manifest.name}.name", scope: "decidim.components")) } %>
|
3
4
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
<% add_decidim_page_title(t(".title", name: t("#{manifest.name}.name", scope: "decidim.components"))) %>
|
2
2
|
<%= decidim_form_for([current_participatory_space, @form], url: components_path(type: params[:type]), method: "post", html: { class: "form new_component" }) do |form| %>
|
3
3
|
<%= render partial: "form", object: form, locals: { component: @component, title: t(".title", name: t("#{manifest.name}.name", scope: "decidim.components")) } %>
|
4
4
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<% add_decidim_page_title(t("edit_organization_appearance", scope: "decidim.admin.titles")) %>
|
1
2
|
<%= decidim_form_for(@form, html: { class: "form edit_organization_appearance" }, url: organization_appearance_path, method: :put) do |f| %>
|
2
3
|
<%= render partial: "form", object: f %>
|
3
4
|
<div class="button--double form-general-submit">
|
@@ -1,3 +1,4 @@
|
|
1
|
+
<% add_decidim_page_title(t("edit_external_domains", scope: "decidim.admin.titles")) %>
|
1
2
|
<%= decidim_form_for(@form, html: { class: "form edit_organization_external_domain_whitelist" }, url: organization_external_domain_whitelist_path, method: :patch) do |f| %>
|
2
3
|
<%= render partial: "form", object: f %>
|
3
4
|
<div class="button--double form-general-submit">
|