Update the COC and TOS Description on the Creator Settings Form (#15527)

* Refactors the COC and TOS help text on the Creator Settings form

* Fixes spacing between legend and description for COC and TOS
This commit is contained in:
Julianna Tetreault 2021-11-30 09:44:29 -07:00 committed by GitHub
parent e93b4392de
commit c3d0a24143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,8 +84,9 @@
<div class="crayons-field mt-6 align-left">
<fieldset aria-describedby="section-description">
<legend class="crayons-field__label mb-2">Finally, please agree to the following:</legend>
<legend class="crayons-field__label">Finally, please agree to the following:</legend>
<div>
<p class="crayons-field__description">You will have the opportunity to establish the Code of Conduct and Terms and Conditions for the users of your Forem during the setup process.</p>
<div class="mb-2">
<%= hidden_field_tag :checked_code_of_conduct, "0" %>
<%= check_box_tag :checked_code_of_conduct, "1", false, class: "crayons-checkbox", required: true %>
@ -97,6 +98,5 @@
<label for="checked_terms_and_conditions">I agree to our <a href="/terms">Terms and Conditions</a>.</label>
</div>
</div>
<p class="crayons-field__description fs-italic p-2">You will have the opportunity to establish the Code of Conduct and Terms and Conditions for the users of your Forem during the setup process.</p>
</fieldset>
</div>