src/properties/class-papi-property-flexible.php
protected function render_repeater( $options ) {
		$layouts = $this->get_settings_layouts();
		?>
		<div class="papi-property-flexible papi-property-repeater-top" data-limit="<?php echo esc_attr( $this->get_setting( 'limit' ) ); ?>">
			<table class="papi-table">
				<tbody class="repeater-tbody flexible-tbody">
				<?php $this->render_repeater_row(); ?>
				</tbody>
			</table>

			<div class="bottom">
				<div class="flexible-layouts-btn-wrap">
					<div class="flexible-layouts flexible-layouts-hidden">
						<div class="flexible-layouts-arrow"></div>
						<ul>
							<?php
							foreach ( $layouts as $layout ) {
								papi_render_html_tag( 'li', [
									papi_html_tag( 'a', [
										'data-layout'    => esc_html( $layout['slug'] ),
										'data-papi-json' => sprintf( '%s_repeater_json', $options->slug ),
										'href'           => '#',
										'role'           => 'button',
										'tabindex'       => 0,
										esc_html( $layout['title'] )
									] )
								] );
							}
							?>
						</ul>
					</div>

					<?php
					papi_render_html_tag( 'button', [
						'class' => 'button button-primary',
						'type'  => 'button',
						esc_html( $this->get_setting( 'add_new_label' ) )
					] );
					?>
				</div>
			</div>

			<?php /* Default repeater value */ ?>

			<input type="hidden" data-papi-rule="<?php echo esc_attr( $options->slug ); ?>" name="<?php echo esc_attr( $this->get_slug() ); ?>[]" />
		</div>
		<?php
	}
protected function render_repeater( $options ) {
		$layouts = $this->get_settings_layouts();
		?>
		<div class="papi-property-flexible papi-property-repeater-top" data-limit="<?php echo esc_attr( $this->get_setting( 'limit' ) ); ?>">
			<table class="papi-table">
				<tbody class="repeater-tbody flexible-tbody">
				<?php $this->render_repeater_row(); ?>
				</tbody>
			</table>

			<div class="bottom">
				<div class="flexible-layouts-btn-wrap">
					<div class="flexible-layouts flexible-layouts-hidden">
						<div class="flexible-layouts-arrow"></div>
						<ul>
							<?php
							foreach ( $layouts as $layout ) {
								papi_render_html_tag( 'li', [
									papi_html_tag( 'a', [
										'data-layout'    => esc_html( $layout['slug'] ),
										'data-papi-json' => sprintf( '%s_repeater_json', $options->slug ),
										'href'           => '#',
										'role'           => 'button',
										'tabindex'       => 0,
										esc_html( $layout['title'] )
									] )
								] );
							}
							?>
						</ul>
					</div>

					<?php
					papi_render_html_tag( 'button', [
						'class' => 'button button-primary',
						'type'  => 'button',
						esc_html( $this->get_setting( 'add_new_label' ) )
					] );
					?>
				</div>
			</div>

			<?php /* Default repeater value */ ?>

			<input type="hidden" data-papi-rule="<?php echo esc_attr( $options->slug ); ?>" name="<?php echo esc_attr( $this->get_slug() ); ?>[]" />
		</div>
		<?php
	}
Render repeater html.

@param object $options