Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

jsarnowski / jsarnowski/jet-engine   php

Repository URL to install this package:

Version: 2.7.7 

/ forms / fields / page-break.php

<?php
/**
 * next page button template
 */

$classes = array(
	'jet-form__next-page',
	$args['class_name']
);

$this->add_attribute( 'class', 'jet-form__next-page' );
$this->add_attribute( 'class', $args['class_name'] );
$this->add_attribute( 'type', 'button' );
?>
<div class="jet-form__next-page-wrap">
	<?php if ( ! empty( $args['page_break_disabled'] ) ) : ?>
	<div class="jet-form__next-page-msg"><?php
		echo wp_kses_post( $args['page_break_disabled'] );
	?></div>
	<?php endif; ?>
	<?php include jet_engine()->get_template( 'forms/common/prev-page-button.php' ); ?>
	<?php if ( ! empty( $args['label'] ) ) : ?>
	<button<?php $this->render_attributes_string(); ?>><?php echo $args['label']; ?></button>
	<?php endif; ?>
</div>
<?php $this->reset_attributes(); ?>