Ensure COC and TOS Links Open on the Creator Settings Form (#15634)
* Opens COC and TOS links in new window, w/o redirects * Removes superfluous > from the Creator Settings _form
This commit is contained in:
parent
4e980b72ff
commit
59765b7ba6
2 changed files with 4 additions and 2 deletions
|
|
@ -14,6 +14,8 @@ function redirectableLocation() {
|
|||
window.location.pathname !== '/onboarding' &&
|
||||
window.location.pathname !== '/signout_confirm' &&
|
||||
window.location.pathname !== '/privacy' &&
|
||||
window.location.pathname !== '/code-of-conduct' &&
|
||||
window.location.pathname !== '/terms' &&
|
||||
window.location.pathname !== '/admin/creator_settings/new'
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -90,12 +90,12 @@
|
|||
<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 %>
|
||||
<label for="checked_code_of_conduct">I agree to uphold our <a href="/code-of-conduct">Code of Conduct</a>.</label>
|
||||
<label for="checked_code_of_conduct">I agree to uphold our <a href="/code-of-conduct" target="code-of-conduct">Code of Conduct</a>.</label>
|
||||
</div>
|
||||
<div>
|
||||
<%= hidden_field_tag :checked_terms_and_conditions, "0" %>
|
||||
<%= check_box_tag :checked_terms_and_conditions, "1", false, class: "crayons-checkbox", required: true %>
|
||||
<label for="checked_terms_and_conditions">I agree to our <a href="/terms">Terms and Conditions</a>.</label>
|
||||
<label for="checked_terms_and_conditions">I agree to our <a href="/terms" target="terms-and-conditions">Terms and Conditions</a>.</label>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue