-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6b8dc0
commit 25e8c46
Showing
6 changed files
with
46 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,27 @@ | ||
<%= decidim_modal id: "publish-account-modal" do %> | ||
<div> | ||
<h2 id="privacy-consent-label"><%= t("make_profile_public", scope:"decidim.privacy.partials.privacy_consent") %></h2> | ||
<button class="close-button" data-dialog-close="publish-account-modal" aria-label="<%= t("close_modal", scope: "decidim.privacy.partials.privacy_consent") %>" | ||
type="button"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<h2 class="h2" id="privacy-consent-label"><%= t("make_profile_public", scope:"decidim.privacy.partials.privacy_consent") %></h2> | ||
</div> | ||
<div class="row columns"> | ||
<%= t("content_html", scope:"decidim.privacy.partials.privacy_consent") %> | ||
</div> | ||
<div class="row"> | ||
<div class="columns medium-12"> | ||
<%= decidim_form_for(Decidim::Privacy::PublishAccountForm.new, url: decidim_privacy.update_account_publicity_path, html: { class: "public-account-form update-privacy" }, method: :put, remote: true) do |f| %> | ||
<div class="pt-4"> | ||
<%= decidim_form_for(Decidim::Privacy::PublishAccountForm.new, url: decidim_privacy.update_account_publicity_path, html: { class: "public-account-form update-privacy" }, method: :put, remote: true) do |f| %> | ||
<div class="space-y-4"> | ||
<div class="field margin-bottom-1"> | ||
<%= f.check_box :agree_public_profile,label: t("agree_to_public_profile", scope: "decidim.privacy.partials.privacy_consent"), required: true %> | ||
</div> | ||
<div class="button--double"> | ||
<%= f.submit t("make_profile_public", scope: "decidim.privacy.partials.privacy_consent"), class: "button expanded" %> | ||
<div> | ||
<div class="inline"> | ||
<%= f.submit t("make_profile_public", scope: "decidim.privacy.partials.privacy_consent"), class: "button button__sm md:button__lg button__secondary" %> | ||
</div> | ||
<div class="inline"> | ||
<button class="button button__sm md:button__lg button__transparent-secondary" data-dialog-close="publish-account-modal" type="button"> | ||
<%= t("do_not_agree", scope: "decidim.privacy.partials.privacy_consent")%> | ||
</button> | ||
</div> | ||
</div> | ||
<div class="text-center"> | ||
<button class="link" data-dialog-close="publish-account-modal" type="button"> | ||
<%= t("do_not_agree", scope: "decidim.privacy.partials.privacy_consent")%> | ||
</button> | ||
</div> | ||
<% end %> | ||
</div> | ||
</div> | ||
<% end %> | ||
</div> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters