otwarchive-symphonyarchive/app/views/users/registrations/_legal.html.erb
2026-03-11 22:22:11 +00:00

33 lines
1.5 KiB
Text

<!-- Age Check -->
<p class="note"><%= t(".over_thirteen_required") %></p>
<p>
<%= f.check_box :age_over_13 %>
<%= f.label :age_over_13, t(".over_thirteen_confirm") %>
</p>
<!-- Terms of Service -->
<p>
<%= t(".agreement_required_html",
terms_of_service_link: link_to(t(".terms_of_service"), tos_path, target: "_blank", rel: "noopener"),
content_policy_link: link_to(t(".content_policy"), content_path, target: "_blank", rel: "noopener"),
privacy_policy_link: link_to(t(".privacy_policy"), privacy_path, target: "_blank", rel: "noopener")) %>
</p>
<fieldset name="<%= tos_field_name %>" id="tos-partial">
<div class="tos docs system module">
<div class="userstuff">
<h2 class="heading" id="tos"><%= t("home.tos.page_heading") %></h2>
<%= render "home/tos", suppress_footer: true %>
<h2 class="heading" id="content"><%= t("home.content.page_heading") %></h2>
<%= render "home/content", suppress_toc: true, suppress_footer: true %>
<h2 class="heading" id="privacy"><%= t("home.privacy.page_heading") %></h2>
<%= render "home/privacy", suppress_toc: true %>
</div>
</div>
</fieldset>
<p>
<%= f.check_box :terms_of_service %>
<%= f.label :terms_of_service, t(".agreement_confirm"), class: "important" %>
</p>
<p>
<%= f.check_box :data_processing %>
<%= f.label :data_processing, t(".data_processing_confirm"), class: "important" %>
</p>