Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions templates/dashboard/instructor/registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,16 @@ class="tutor-form-control tutor-input"
<?php $tutor_toc_page_link = tutor_utils()->get_toc_page_link(); ?>

<?php if ( null !== $tutor_toc_page_link ) : ?>
<div class="tutor-form-row tutor-mb-24">
<div class="tutor-form-col-12">
<div class="tutor-d-flex tutor-gap-1 tutor-align-center">
<div class="tutor-form-wrap">
<input type="checkbox" id="tutor-terms-conditions" name="terms_conditions" required>
</div>
<label for="tutor-terms-conditions">
<?php esc_html_e( 'By signing up, you agree to the', 'tutor' ); ?> <a target="_blank" href="<?php echo esc_url( $tutor_toc_page_link ); ?>" title="<?php esc_html_e( 'Terms and Conditions', 'tutor' ); ?>"><?php esc_html_e( 'Terms and Conditions', 'tutor' ); ?></a>
</label>
</div>
<div class="tutor-form-row tutor-mb-8">
<div class="tutor-input-field">
<div class="tutor-input-wrapper">
<input type="checkbox" id="tutor-terms-conditions" name="terms_conditions" class="tutor-checkbox" required>
<label for="tutor-terms-conditions" class="tutor-label">
<?php esc_html_e( 'By signing up, you agree to the ', 'tutor' ); ?> <a target="_blank" href="<?php echo esc_url( $tutor_toc_page_link ); ?>" title="<?php esc_html_e( 'Terms and Conditions', 'tutor' ); ?>"><?php esc_html_e( 'Terms and Conditions', 'tutor' ); ?></a>
</label>
</div>
</div>
</div>
</div>
<?php endif; ?>

<button type="submit" name="tutor_register_instructor_btn" value="register" class="tutor-btn tutor-btn-primary tutor-btn-block"><?php esc_html_e( 'Register as instructor', 'tutor' ); ?></button>
Expand Down
21 changes: 10 additions & 11 deletions templates/dashboard/registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use Tutor\Components\Alert;
use Tutor\Components\SvgIcon;
use TUTOR\Icon;

?>

<?php
Expand Down Expand Up @@ -152,18 +153,16 @@ class="tutor-form-control tutor-input"
$tutor_toc_page_link = tutor_utils()->get_toc_page_link();
?>
<?php if ( null !== $tutor_toc_page_link ) : ?>
<div class="tutor-form-row tutor-mb-24">
<div class="tutor-form-col-12">
<div class="tutor-d-flex tutor-gap-1 tutor-align-center">
<div class="tutor-form-wrap">
<input type="checkbox" id="tutor-terms-conditions" name="terms_conditions" required>
</div>
<label for="tutor-terms-conditions">
<?php esc_html_e( 'By signing up, you agree to the ', 'tutor' ); ?> <a target="_blank" href="<?php echo esc_url( $tutor_toc_page_link ); ?>" title="<?php esc_html_e( 'Terms and Conditions', 'tutor' ); ?>"><?php esc_html_e( 'Terms and Conditions', 'tutor' ); ?></a>
</label>
</div>
<div class="tutor-form-row tutor-mb-8">
<div class="tutor-input-field">
<div class="tutor-input-wrapper">
<input type="checkbox" id="tutor-terms-conditions" name="terms_conditions" class="tutor-checkbox tutor-checkbox-md" required>
<label for="tutor-terms-conditions" class="tutor-label">
<?php esc_html_e( 'By signing up, you agree to the ', 'tutor' ); ?> <a target="_blank" href="<?php echo esc_url( $tutor_toc_page_link ); ?>" title="<?php esc_html_e( 'Terms and Conditions', 'tutor' ); ?>"><?php esc_html_e( 'Terms and Conditions', 'tutor' ); ?></a>
</label>
</div>
</div>
</div>
</div>
<?php endif; ?>

<div>
Expand Down
Loading